home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_emacs.idb / usr / freeware / share / emacs / 19.34 / lisp / edt.elc.z / edt.elc
Emacs Compiled Lisp  |  1998-10-28  |  44.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 72 6d 73 40 6d 6f 6c |piled by| rms@mol|
|00000020| 65 2e 67 6e 75 2e 61 69 | 2e 6d 69 74 2e 65 64 75 |e.gnu.ai|.mit.edu|
|00000030| 20 6f 6e 20 46 72 69 20 | 4a 61 6e 20 32 36 20 30 | on Fri |Jan 26 0|
|00000040| 31 3a 32 39 3a 34 33 20 | 31 39 39 36 0a 3b 3b 3b |1:29:43 |1996.;;;|
|00000050| 20 66 72 6f 6d 20 66 69 | 6c 65 20 2f 68 6f 6d 65 | from fi|le /home|
|00000060| 2f 66 73 66 2f 72 6d 73 | 2f 65 31 39 2f 6c 69 73 |/fsf/rms|/e19/lis|
|00000070| 70 2f 65 64 74 2e 65 6c | 0a 3b 3b 3b 20 65 6d 61 |p/edt.el|.;;; ema|
|00000080| 63 73 20 76 65 72 73 69 | 6f 6e 20 31 39 2e 33 30 |cs versi|on 19.30|
|00000090| 2e 39 30 2e 31 2e 0a 3b | 3b 3b 20 62 79 74 65 63 |.90.1..;|;; bytec|
|000000a0| 6f 6d 70 20 76 65 72 73 | 69 6f 6e 20 46 53 46 20 |omp vers|ion FSF |
|000000b0| 32 2e 31 30 0a 3b 3b 3b | 20 6f 70 74 69 6d 69 7a |2.10.;;;| optimiz|
|000000c0| 61 74 69 6f 6e 20 69 73 | 20 6f 6e 2e 0a 3b 3b 3b |ation is| on..;;;|
|000000d0| 20 74 68 69 73 20 66 69 | 6c 65 20 75 73 65 73 20 | this fi|le uses |
|000000e0| 6f 70 63 6f 64 65 73 20 | 77 68 69 63 68 20 64 6f |opcodes |which do|
|000000f0| 20 6e 6f 74 20 65 78 69 | 73 74 20 69 6e 20 45 6d | not exi|st in Em|
|00000100| 61 63 73 20 31 38 2e 0a | 0a 28 69 66 20 28 61 6e |acs 18..|.(if (an|
|00000110| 64 20 28 62 6f 75 6e 64 | 70 20 27 65 6d 61 63 73 |d (bound|p 'emacs|
|00000120| 2d 76 65 72 73 69 6f 6e | 29 0a 09 20 28 6f 72 20 |-version|).. (or |
|00000130| 28 61 6e 64 20 28 62 6f | 75 6e 64 70 20 27 65 70 |(and (bo|undp 'ep|
|00000140| 6f 63 68 3a 3a 76 65 72 | 73 69 6f 6e 29 20 65 70 |och::ver|sion) ep|
|00000150| 6f 63 68 3a 3a 76 65 72 | 73 69 6f 6e 29 0a 09 20 |och::ver|sion).. |
|00000160| 20 20 20 20 28 73 74 72 | 69 6e 67 2d 6c 65 73 73 | (str|ing-less|
|00000170| 70 20 65 6d 61 63 73 2d | 76 65 72 73 69 6f 6e 20 |p emacs-|version |
|00000180| 22 31 39 2e 32 39 22 29 | 29 29 0a 20 20 20 20 28 |"19.29")|)). (|
|00000190| 65 72 72 6f 72 20 22 60 | 65 64 74 2e 65 6c 27 20 |error "`|edt.el' |
|000001a0| 77 61 73 20 63 6f 6d 70 | 69 6c 65 64 20 66 6f 72 |was comp|iled for|
|000001b0| 20 45 6d 61 63 73 20 31 | 39 2e 32 39 20 6f 72 20 | Emacs 1|9.29 or |
|000001c0| 6c 61 74 65 72 22 29 29 | 0a 0a 0a 28 62 79 74 65 |later"))|...(byte|
|000001d0| 2d 63 6f 64 65 20 22 c0 | c1 21 88 c0 c2 21 87 22 |-code ".|.!...!."|
|000001e0| 20 5b 72 65 71 75 69 72 | 65 20 65 68 65 6c 70 20 | [requir|e ehelp |
|000001f0| 70 69 63 74 75 72 65 5d | 20 32 29 0a 23 40 36 30 |picture]| 2).#@60|
|00000200| 20 4c 61 73 74 20 74 65 | 78 74 20 64 65 6c 65 74 | Last te|xt delet|
|00000210| 65 64 20 62 79 20 61 6e | 20 45 44 54 20 65 6d 75 |ed by an| EDT emu|
|00000220| 6c 61 74 69 6f 6e 20 6c | 69 6e 65 20 64 65 6c 65 |lation l|ine dele|
|00000230| 74 65 20 63 6f 6d 6d 61 | 6e 64 2e 1f 0a 28 64 65 |te comma|nd...(de|
|00000240| 66 76 61 72 20 65 64 74 | 2d 6c 61 73 74 2d 64 65 |fvar edt|-last-de|
|00000250| 6c 65 74 65 64 2d 6c 69 | 6e 65 73 20 22 22 20 28 |leted-li|nes "" (|
|00000260| 23 24 20 2e 20 35 31 33 | 29 29 0a 23 40 36 30 20 |#$ . 513|)).#@60 |
|00000270| 4c 61 73 74 20 74 65 78 | 74 20 64 65 6c 65 74 65 |Last tex|t delete|
|00000280| 64 20 62 79 20 61 6e 20 | 45 44 54 20 65 6d 75 6c |d by an |EDT emul|
|00000290| 61 74 69 6f 6e 20 77 6f | 72 64 20 64 65 6c 65 74 |ation wo|rd delet|
|000002a0| 65 20 63 6f 6d 6d 61 6e | 64 2e 1f 0a 28 64 65 66 |e comman|d...(def|
|000002b0| 76 61 72 20 65 64 74 2d | 6c 61 73 74 2d 64 65 6c |var edt-|last-del|
|000002c0| 65 74 65 64 2d 77 6f 72 | 64 73 20 22 22 20 28 23 |eted-wor|ds "" (#|
|000002d0| 24 20 2e 20 36 32 34 29 | 29 0a 23 40 36 35 20 4c |$ . 624)|).#@65 L|
|000002e0| 61 73 74 20 74 65 78 74 | 20 64 65 6c 65 74 65 64 |ast text| deleted|
|000002f0| 20 62 79 20 61 6e 20 45 | 44 54 20 65 6d 75 6c 61 | by an E|DT emula|
|00000300| 74 69 6f 6e 20 63 68 61 | 72 61 63 74 65 72 20 64 |tion cha|racter d|
|00000310| 65 6c 65 74 65 20 63 6f | 6d 6d 61 6e 64 2e 1f 0a |elete co|mmand...|
|00000320| 28 64 65 66 76 61 72 20 | 65 64 74 2d 6c 61 73 74 |(defvar |edt-last|
|00000330| 2d 64 65 6c 65 74 65 64 | 2d 63 68 61 72 73 20 22 |-deleted|-chars "|
|00000340| 22 20 28 23 24 20 2e 20 | 37 33 35 29 29 0a 23 40 |" (#$ . |735)).#@|
|00000350| 36 37 20 4b 65 79 20 64 | 65 66 69 6e 69 74 69 6f |67 Key d|efinitio|
|00000360| 6e 20 72 65 70 6c 61 63 | 65 64 20 77 69 74 68 20 |n replac|ed with |
|00000370| 65 64 74 2d 64 65 66 69 | 6e 65 2d 6b 65 79 20 6f |edt-defi|ne-key o|
|00000380| 72 20 65 64 74 2d 6c 65 | 61 72 6e 20 63 6f 6d 6d |r edt-le|arn comm|
|00000390| 61 6e 64 2e 1f 0a 28 64 | 65 66 76 61 72 20 65 64 |and...(d|efvar ed|
|000003a0| 74 2d 6c 61 73 74 2d 72 | 65 70 6c 61 63 65 64 2d |t-last-r|eplaced-|
|000003b0| 6b 65 79 2d 64 65 66 69 | 6e 69 74 69 6f 6e 20 22 |key-defi|nition "|
|000003c0| 22 20 28 23 24 20 2e 20 | 38 35 31 29 29 0a 23 40 |" (#$ . |851)).#@|
|000003d0| 35 30 20 53 74 72 69 6e | 67 20 69 6e 64 69 63 61 |50 Strin|g indica|
|000003e0| 74 69 6e 67 20 63 75 72 | 72 65 6e 74 20 64 69 72 |ting cur|rent dir|
|000003f0| 65 63 74 69 6f 6e 20 6f | 66 20 6d 6f 76 65 6d 65 |ection o|f moveme|
|00000400| 6e 74 2e 1f 0a 28 64 65 | 66 76 61 72 20 65 64 74 |nt...(de|fvar edt|
|00000410| 2d 64 69 72 65 63 74 69 | 6f 6e 2d 73 74 72 69 6e |-directi|on-strin|
|00000420| 67 20 22 22 20 28 23 24 | 20 2e 20 39 37 39 29 29 |g "" (#$| . 979))|
|00000430| 0a 23 40 33 38 20 4e 6f | 6e 2d 6e 69 6c 20 6d 65 |.#@38 No|n-nil me|
|00000440| 61 6e 73 20 73 65 6c 65 | 63 74 20 6d 6f 64 65 20 |ans sele|ct mode |
|00000450| 69 73 20 61 63 74 69 76 | 65 2e 1f 0a 28 64 65 66 |is activ|e...(def|
|00000460| 76 61 72 20 65 64 74 2d | 73 65 6c 65 63 74 2d 6d |var edt-|select-m|
|00000470| 6f 64 65 20 6e 69 6c 20 | 28 23 24 20 2e 20 31 30 |ode nil |(#$ . 10|
|00000480| 37 38 29 29 0a 23 40 35 | 37 20 54 65 78 74 20 64 |78)).#@5|7 Text d|
|00000490| 69 73 70 6c 61 79 65 64 | 20 69 6e 20 6d 6f 64 65 |isplayed| in mode|
|000004a0| 20 6c 69 6e 65 20 77 68 | 65 6e 20 73 65 6c 65 63 | line wh|en selec|
|000004b0| 74 20 6d 6f 64 65 20 69 | 73 20 61 63 74 69 76 65 |t mode i|s active|
|000004c0| 2e 1f 0a 28 64 65 66 76 | 61 72 20 65 64 74 2d 73 |...(defv|ar edt-s|
|000004d0| 65 6c 65 63 74 2d 6d 6f | 64 65 2d 74 65 78 74 20 |elect-mo|de-text |
|000004e0| 22 22 20 28 23 24 20 2e | 20 31 31 36 32 29 29 0a |"" (#$ .| 1162)).|
|000004f0| 23 40 34 33 20 53 74 72 | 69 6e 67 20 74 6f 20 69 |#@43 Str|ing to i|
|00000500| 6e 64 69 63 61 74 65 20 | 73 65 6c 65 63 74 20 6d |ndicate |select m|
|00000510| 6f 64 65 20 69 73 20 61 | 63 74 69 76 65 2e 1f 0a |ode is a|ctive...|
|00000520| 28 64 65 66 63 6f 6e 73 | 74 20 65 64 74 2d 73 65 |(defcons|t edt-se|
|00000530| 6c 65 63 74 2d 6d 6f 64 | 65 2d 73 74 72 69 6e 67 |lect-mod|e-string|
|00000540| 20 22 20 53 65 6c 65 63 | 74 22 20 28 23 24 20 2e | " Selec|t" (#$ .|
|00000550| 20 31 32 36 39 29 29 0a | 23 40 36 31 20 44 69 72 | 1269)).|#@61 Dir|
|00000560| 65 63 74 69 6f 6e 20 73 | 74 72 69 6e 67 20 69 6e |ection s|tring in|
|00000570| 20 6d 6f 64 65 20 6c 69 | 6e 65 20 74 6f 20 69 6e | mode li|ne to in|
|00000580| 64 69 63 61 74 65 20 66 | 6f 72 77 61 72 64 20 6d |dicate f|orward m|
|00000590| 6f 76 65 6d 65 6e 74 2e | 1f 0a 28 64 65 66 63 6f |ovement.|..(defco|
|000005a0| 6e 73 74 20 65 64 74 2d | 66 6f 72 77 61 72 64 2d |nst edt-|forward-|
|000005b0| 73 74 72 69 6e 67 20 22 | 20 41 44 56 41 4e 43 45 |string "| ADVANCE|
|000005c0| 22 20 28 23 24 20 2e 20 | 31 33 37 33 29 29 0a 23 |" (#$ . |1373)).#|
|000005d0| 40 36 32 20 44 69 72 65 | 63 74 69 6f 6e 20 73 74 |@62 Dire|ction st|
|000005e0| 72 69 6e 67 20 69 6e 20 | 6d 6f 64 65 20 6c 69 6e |ring in |mode lin|
|000005f0| 65 20 74 6f 20 69 6e 64 | 69 63 61 74 65 20 62 61 |e to ind|icate ba|
|00000600| 63 6b 77 61 72 64 20 6d | 6f 76 65 6d 65 6e 74 2e |ckward m|ovement.|
|00000610| 1f 0a 28 64 65 66 63 6f | 6e 73 74 20 65 64 74 2d |..(defco|nst edt-|
|00000620| 62 61 63 6b 77 61 72 64 | 2d 73 74 72 69 6e 67 20 |backward|-string |
|00000630| 22 20 20 42 41 43 4b 55 | 50 22 20 28 23 24 20 2e |" BACKU|P" (#$ .|
|00000640| 20 31 34 39 32 29 29 0a | 23 40 31 32 32 20 4e 6f | 1492)).|#@122 No|
|00000650| 6e 2d 6e 69 6c 20 69 6e | 64 69 63 61 74 65 73 20 |n-nil in|dicates |
|00000660| 74 68 61 74 20 64 65 66 | 61 75 6c 74 20 45 44 54 |that def|ault EDT|
|00000670| 20 65 6d 75 6c 61 74 69 | 6f 6e 20 6b 65 79 20 62 | emulati|on key b|
|00000680| 69 6e 64 69 6e 67 73 20 | 61 72 65 20 61 63 74 69 |indings |are acti|
|00000690| 76 65 2e 0a 4e 69 6c 20 | 6d 65 61 6e 73 20 75 73 |ve..Nil |means us|
|000006a0| 65 72 2d 64 65 66 69 6e | 65 64 20 63 75 73 74 6f |er-defin|ed custo|
|000006b0| 6d 20 62 69 6e 64 69 6e | 67 73 20 61 72 65 20 61 |m bindin|gs are a|
|000006c0| 63 74 69 76 65 2e 1f 0a | 28 64 65 66 76 61 72 20 |ctive...|(defvar |
|000006d0| 65 64 74 2d 64 65 66 61 | 75 6c 74 2d 6d 61 70 2d |edt-defa|ult-map-|
|000006e0| 61 63 74 69 76 65 20 6e | 69 6c 20 28 23 24 20 2e |active n|il (#$ .|
|000006f0| 20 31 36 31 34 29 29 0a | 23 40 31 34 30 20 4e 6f | 1614)).|#@140 No|
|00000700| 6e 2d 6e 69 6c 20 69 6e | 64 69 63 61 74 65 73 20 |n-nil in|dicates |
|00000710| 74 68 61 74 20 75 73 65 | 72 20 63 75 73 74 6f 6d |that use|r custom|
|00000720| 20 45 44 54 20 6b 65 79 | 20 62 69 6e 64 69 6e 67 | EDT key| binding|
|00000730| 73 20 61 72 65 20 63 6f | 6e 66 69 67 75 72 65 64 |s are co|nfigured|
|00000740| 2e 0a 54 68 69 73 20 6d | 65 61 6e 73 20 74 68 61 |..This m|eans tha|
|00000750| 74 20 61 6e 20 65 64 74 | 2d 75 73 65 72 2e 65 6c |t an edt|-user.el|
|00000760| 20 66 69 6c 65 20 77 61 | 73 20 66 6f 75 6e 64 20 | file wa|s found |
|00000770| 69 6e 20 74 68 65 20 75 | 73 65 72 27 73 20 6c 6f |in the u|ser's lo|
|00000780| 61 64 2d 70 61 74 68 2e | 1f 0a 28 64 65 66 76 61 |ad-path.|..(defva|
|00000790| 72 20 65 64 74 2d 75 73 | 65 72 2d 6d 61 70 2d 63 |r edt-us|er-map-c|
|000007a0| 6f 6e 66 69 67 75 72 65 | 64 20 6e 69 6c 20 28 23 |onfigure|d nil (#|
|000007b0| 24 20 2e 20 31 37 39 30 | 29 29 0a 23 40 32 32 31 |$ . 1790|)).#@221|
|000007c0| 20 4e 6f 6e 2d 6e 69 6c | 20 6c 65 61 76 65 73 20 | Non-nil| leaves |
|000007d0| 63 75 72 72 65 6e 74 20 | 76 61 6c 75 65 20 6f 66 |current |value of|
|000007e0| 20 70 61 67 65 2d 64 65 | 6c 69 6d 69 74 65 72 20 | page-de|limiter |
|000007f0| 75 6e 63 68 61 6e 67 65 | 64 2e 0a 4e 69 6c 20 63 |unchange|d..Nil c|
|00000800| 61 75 73 65 73 20 74 68 | 65 20 70 61 67 65 2d 64 |auses th|e page-d|
|00000810| 65 6c 69 6d 69 74 65 72 | 20 76 61 72 69 61 62 6c |elimiter| variabl|
|00000820| 65 20 74 6f 20 62 65 20 | 73 65 74 20 74 6f 20 74 |e to be |set to t|
|00000830| 6f 20 22 5c 66 22 0a 77 | 68 65 6e 20 65 64 74 2d |o "\f".w|hen edt-|
|00000840| 65 6d 75 6c 61 74 69 6f | 6e 2d 6f 6e 20 69 73 20 |emulatio|n-on is |
|00000850| 66 69 72 73 74 20 69 6e | 76 6f 6b 65 64 2e 20 20 |first in|voked. |
|00000860| 4f 72 69 67 69 6e 61 6c | 20 76 61 6c 75 65 20 69 |Original| value i|
|00000870| 73 20 72 65 73 74 6f 72 | 65 64 0a 77 68 65 6e 20 |s restor|ed.when |
|00000880| 65 64 74 2d 65 6d 75 6c | 61 74 69 6f 6e 2d 6f 66 |edt-emul|ation-of|
|00000890| 66 20 69 73 20 63 61 6c | 6c 65 64 2e 1f 0a 28 64 |f is cal|led...(d|
|000008a0| 65 66 76 61 72 20 65 64 | 74 2d 6b 65 65 70 2d 63 |efvar ed|t-keep-c|
|000008b0| 75 72 72 65 6e 74 2d 70 | 61 67 65 2d 64 65 6c 69 |urrent-p|age-deli|
|000008c0| 6d 69 74 65 72 20 6e 69 | 6c 20 28 23 24 20 2e 20 |miter ni|l (#$ . |
|000008d0| 31 39 38 35 29 29 0a 23 | 40 32 31 37 20 4e 6f 6e |1985)).#|@217 Non|
|000008e0| 2d 6e 69 6c 20 63 61 75 | 73 65 73 20 74 68 65 20 |-nil cau|ses the |
|000008f0| 63 6f 6e 74 72 6f 6c 20 | 6b 65 79 20 62 69 6e 64 |control |key bind|
|00000900| 69 6e 67 73 20 74 6f 20 | 62 65 20 72 65 70 6c 61 |ings to |be repla|
|00000910| 63 65 64 20 77 69 74 68 | 20 45 44 54 20 62 69 6e |ced with| EDT bin|
|00000920| 64 69 6e 67 73 2e 0a 4e | 69 6c 20 28 74 68 65 20 |dings..N|il (the |
|00000930| 64 65 66 61 75 6c 74 29 | 20 6d 65 61 6e 73 20 45 |default)| means E|
|00000940| 44 54 20 63 6f 6e 74 72 | 6f 6c 20 6b 65 79 20 62 |DT contr|ol key b|
|00000950| 69 6e 64 69 6e 67 73 20 | 61 72 65 20 6e 6f 74 20 |indings |are not |
|00000960| 75 73 65 64 20 61 6e 64 | 20 74 68 65 20 63 75 72 |used and| the cur|
|00000970| 72 65 6e 74 0a 63 6f 6e | 74 72 6f 6c 20 6b 65 79 |rent.con|trol key|
|00000980| 20 62 69 6e 64 69 6e 67 | 73 20 61 72 65 20 72 65 | binding|s are re|
|00000990| 74 61 69 6e 65 64 20 66 | 6f 72 20 75 73 65 20 69 |tained f|or use i|
|000009a0| 6e 20 74 68 65 20 45 44 | 54 20 65 6d 75 6c 61 74 |n the ED|T emulat|
|000009b0| 69 6f 6e 2e 1f 0a 28 64 | 65 66 76 61 72 20 65 64 |ion...(d|efvar ed|
|000009c0| 74 2d 75 73 65 2d 45 44 | 54 2d 63 6f 6e 74 72 6f |t-use-ED|T-contro|
|000009d0| 6c 2d 6b 65 79 2d 62 69 | 6e 64 69 6e 67 73 20 6e |l-key-bi|ndings n|
|000009e0| 69 6c 20 28 23 24 20 2e | 20 32 32 36 39 29 29 0a |il (#$ .| 2269)).|
|000009f0| 23 40 35 32 20 2a 53 70 | 65 63 69 66 69 65 73 20 |#@52 *Sp|ecifies |
|00000a00| 74 68 65 20 6c 69 73 74 | 20 6f 66 20 45 44 54 20 |the list| of EDT |
|00000a10| 77 6f 72 64 20 65 6e 74 | 69 74 79 20 63 68 61 72 |word ent|ity char|
|00000a20| 61 63 74 65 72 73 2e 1f | 0a 28 64 65 66 76 61 72 |acters..|.(defvar|
|00000a30| 20 65 64 74 2d 77 6f 72 | 64 2d 65 6e 74 69 74 69 | edt-wor|d-entiti|
|00000a40| 65 73 20 28 71 75 6f 74 | 65 20 28 39 29 29 20 28 |es (quot|e (9)) (|
|00000a50| 23 24 20 2e 20 2d 32 35 | 34 39 29 29 0a 23 40 35 |#$ . -25|49)).#@5|
|00000a60| 38 20 4e 6f 6e 2d 6e 69 | 6c 20 69 66 20 77 65 20 |8 Non-ni|l if we |
|00000a70| 61 72 65 20 72 75 6e 6e | 69 6e 67 20 4c 75 63 69 |are runn|ing Luci|
|00000a80| 64 20 6f 72 20 47 4e 55 | 20 45 6d 61 63 73 20 76 |d or GNU| Emacs v|
|00000a90| 65 72 73 69 6f 6e 20 31 | 39 2e 1f 0a 28 64 65 66 |ersion 1|9...(def|
|00000aa0| 63 6f 6e 73 74 20 65 64 | 74 2d 65 6d 61 63 73 31 |const ed|t-emacs1|
|00000ab0| 39 2d 70 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |9-p (byt|e-code "|
|00000ac0| 08 c1 99 3f 87 22 20 5b | 65 6d 61 63 73 2d 76 65 |...?." [|emacs-ve|
|00000ad0| 72 73 69 6f 6e 20 22 31 | 39 22 5d 20 32 29 20 28 |rsion "1|9"] 2) (|
|00000ae0| 23 24 20 2e 20 32 36 35 | 38 29 29 0a 23 40 35 31 |#$ . 265|8)).#@51|
|00000af0| 20 4e 6f 6e 2d 6e 69 6c | 20 69 66 20 77 65 20 61 | Non-nil| if we a|
|00000b00| 72 65 20 72 75 6e 6e 69 | 6e 67 20 4c 75 63 69 64 |re runni|ng Lucid|
|00000b10| 20 45 6d 61 63 73 20 76 | 65 72 73 69 6f 6e 20 31 | Emacs v|ersion 1|
|00000b20| 39 2e 1f 0a 28 64 65 66 | 63 6f 6e 73 74 20 65 64 |9...(def|const ed|
|00000b30| 74 2d 6c 75 63 69 64 2d | 65 6d 61 63 73 31 39 2d |t-lucid-|emacs19-|
|00000b40| 70 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 08 85 |p (byte-|code "..|
|00000b50| 08 00 c1 c2 0b 5c 22 87 | 22 20 5b 65 64 74 2d 65 |.....\".|" [edt-e|
|00000b60| 6d 61 63 73 31 39 2d 70 | 20 73 74 72 69 6e 67 2d |macs19-p| string-|
|00000b70| 6d 61 74 63 68 20 22 4c | 75 63 69 64 22 20 65 6d |match "L|ucid" em|
|00000b80| 61 63 73 2d 76 65 72 73 | 69 6f 6e 5d 20 33 29 20 |acs-vers|ion] 3) |
|00000b90| 28 23 24 20 2e 20 32 38 | 30 31 29 29 0a 23 40 34 |(#$ . 28|01)).#@4|
|00000ba0| 39 20 4e 6f 6e 2d 6e 69 | 6c 20 69 66 20 77 65 20 |9 Non-ni|l if we |
|00000bb0| 61 72 65 20 72 75 6e 6e | 69 6e 67 20 47 4e 55 20 |are runn|ing GNU |
|00000bc0| 45 6d 61 63 73 20 76 65 | 72 73 69 6f 6e 20 31 39 |Emacs ve|rsion 19|
|00000bd0| 2e 1f 0a 28 64 65 66 63 | 6f 6e 73 74 20 65 64 74 |...(defc|onst edt|
|00000be0| 2d 67 6e 75 2d 65 6d 61 | 63 73 31 39 2d 70 20 28 |-gnu-ema|cs19-p (|
|00000bf0| 62 79 74 65 2d 63 6f 64 | 65 20 22 08 85 06 00 09 |byte-cod|e ".....|
|00000c00| 3f 87 22 20 5b 65 64 74 | 2d 65 6d 61 63 73 31 39 |?." [edt|-emacs19|
|00000c10| 2d 70 20 65 64 74 2d 6c | 75 63 69 64 2d 65 6d 61 |-p edt-l|ucid-ema|
|00000c20| 63 73 31 39 2d 70 5d 20 | 31 29 20 28 23 24 20 2e |cs19-p] |1) (#$ .|
|00000c30| 20 32 39 37 38 29 29 0a | 23 40 37 35 20 46 69 6c | 2978)).|#@75 Fil|
|00000c40| 65 20 6d 61 70 70 69 6e | 67 20 58 20 66 75 6e 63 |e mappin|g X func|
|00000c50| 74 69 6f 6e 20 6b 65 79 | 73 20 74 6f 20 4c 4b 2d |tion key|s to LK-|
|00000c60| 32 30 31 20 6b 65 79 62 | 6f 61 72 64 20 66 75 6e |201 keyb|oard fun|
|00000c70| 63 74 69 6f 6e 20 61 6e | 64 20 6b 65 79 70 61 64 |ction an|d keypad|
|00000c80| 20 6b 65 79 73 2e 1f 0a | 28 64 65 66 76 61 72 20 | keys...|(defvar |
|00000c90| 65 64 74 2d 78 6b 65 79 | 73 2d 66 69 6c 65 20 6e |edt-xkey|s-file n|
|00000ca0| 69 6c 20 28 23 24 20 2e | 20 33 31 33 33 29 29 0a |il (#$ .| 3133)).|
|00000cb0| 23 40 31 32 37 20 4d 6f | 76 65 20 66 6f 72 77 61 |#@127 Mo|ve forwa|
|00000cc0| 72 64 20 74 6f 20 6a 75 | 73 74 20 61 66 74 65 72 |rd to ju|st after|
|00000cd0| 20 6e 65 78 74 20 70 61 | 67 65 20 64 65 6c 69 6d | next pa|ge delim|
|00000ce0| 69 74 65 72 2e 0a 41 63 | 63 65 70 74 73 20 61 20 |iter..Ac|cepts a |
|00000cf0| 70 6f 73 69 74 69 76 65 | 20 70 72 65 66 69 78 20 |positive| prefix |
|00000d00| 61 72 67 75 6d 65 6e 74 | 20 66 6f 72 20 74 68 65 |argument| for the|
|00000d10| 20 6e 75 6d 62 65 72 20 | 6f 66 20 70 61 67 65 20 | number |of page |
|00000d20| 64 65 6c 69 6d 69 74 65 | 72 73 20 74 6f 20 6d 6f |delimite|rs to mo|
|00000d30| 76 65 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |ve...(de|falias '|
|00000d40| 65 64 74 2d 70 61 67 65 | 2d 66 6f 72 77 61 72 64 |edt-page|-forward|
|00000d50| 20 23 5b 28 6e 75 6d 29 | 20 22 c0 09 21 88 6d 83 | #[(num)| "..!.m.|
|00000d60| 5c 66 00 c2 c3 21 87 c4 | 09 21 88 6d 83 17 00 c5 |\f...!..|.!.m....|
|00000d70| 20 87 c6 20 87 22 20 5b | 65 64 74 2d 63 68 65 63 | .. ." [|edt-chec|
|00000d80| 6b 2d 70 72 65 66 69 78 | 20 6e 75 6d 20 65 72 72 |k-prefix| num err|
|00000d90| 6f 72 20 22 45 6e 64 20 | 6f 66 20 62 75 66 66 65 |or "End |of buffe|
|00000da0| 72 22 20 66 6f 72 77 61 | 72 64 2d 70 61 67 65 20 |r" forwa|rd-page |
|00000db0| 65 64 74 2d 6c 69 6e 65 | 2d 74 6f 2d 62 6f 74 74 |edt-line|-to-bott|
|00000dc0| 6f 6d 2d 6f 66 2d 77 69 | 6e 64 6f 77 20 65 64 74 |om-of-wi|ndow edt|
|00000dd0| 2d 6c 69 6e 65 2d 74 6f | 2d 74 6f 70 2d 6f 66 2d |-line-to|-top-of-|
|00000de0| 77 69 6e 64 6f 77 5d 20 | 32 20 28 23 24 20 2e 20 |window] |2 (#$ . |
|00000df0| 33 32 35 34 29 20 22 70 | 22 5d 29 0a 23 40 31 33 |3254) "p|"]).#@13|
|00000e00| 32 20 4d 6f 76 65 20 62 | 61 63 6b 77 61 72 64 20 |2 Move b|ackward |
|00000e10| 74 6f 20 6a 75 73 74 20 | 61 66 74 65 72 20 70 72 |to just |after pr|
|00000e20| 65 76 69 6f 75 73 20 70 | 61 67 65 20 64 65 6c 69 |evious p|age deli|
|00000e30| 6d 69 74 65 72 2e 0a 41 | 63 63 65 70 74 73 20 61 |miter..A|ccepts a|
|00000e40| 20 70 6f 73 69 74 69 76 | 65 20 70 72 65 66 69 78 | positiv|e prefix|
|00000e50| 20 61 72 67 75 6d 65 6e | 74 20 66 6f 72 20 74 68 | argumen|t for th|
|00000e60| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 70 61 67 65 |e number| of page|
|00000e70| 20 64 65 6c 69 6d 69 74 | 65 72 73 20 74 6f 20 6d | delimit|ers to m|
|00000e80| 6f 76 65 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |ove...(d|efalias |
|00000e90| 27 65 64 74 2d 70 61 67 | 65 2d 62 61 63 6b 77 61 |'edt-pag|e-backwa|
|00000ea0| 72 64 20 23 5b 28 6e 75 | 6d 29 20 22 c0 09 21 88 |rd #[(nu|m) "..!.|
|00000eb0| 6f 83 5c 66 00 c2 c3 21 | 87 c4 09 21 88 c5 20 87 |o.\f...!|...!.. .|
|00000ec0| 22 20 5b 65 64 74 2d 63 | 68 65 63 6b 2d 70 72 65 |" [edt-c|heck-pre|
|00000ed0| 66 69 78 20 6e 75 6d 20 | 65 72 72 6f 72 20 22 42 |fix num |error "B|
|00000ee0| 65 67 69 6e 6e 69 6e 67 | 20 6f 66 20 62 75 66 66 |eginning| of buff|
|00000ef0| 65 72 22 20 62 61 63 6b | 77 61 72 64 2d 70 61 67 |er" back|ward-pag|
|00000f00| 65 20 65 64 74 2d 6c 69 | 6e 65 2d 74 6f 2d 74 6f |e edt-li|ne-to-to|
|00000f10| 70 2d 6f 66 2d 77 69 6e | 64 6f 77 5d 20 32 20 28 |p-of-win|dow] 2 (|
|00000f20| 23 24 20 2e 20 33 35 38 | 36 29 20 22 70 22 5d 29 |#$ . 358|6) "p"])|
|00000f30| 0a 23 40 31 32 39 20 4d | 6f 76 65 20 69 6e 20 63 |.#@129 M|ove in c|
|00000f40| 75 72 72 65 6e 74 20 64 | 69 72 65 63 74 69 6f 6e |urrent d|irection|
|00000f50| 20 74 6f 20 6e 65 78 74 | 20 70 61 67 65 20 64 65 | to next| page de|
|00000f60| 6c 69 6d 69 74 65 72 2e | 0a 41 63 63 65 70 74 73 |limiter.|.Accepts|
|00000f70| 20 61 20 70 6f 73 69 74 | 69 76 65 20 70 72 65 66 | a posit|ive pref|
|00000f80| 69 78 20 61 72 67 75 6d | 65 6e 74 20 66 6f 72 20 |ix argum|ent for |
|00000f90| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 70 61 |the numb|er of pa|
|00000fa0| 67 65 20 64 65 6c 69 6d | 69 74 65 72 73 20 74 6f |ge delim|iters to|
|00000fb0| 20 6d 6f 76 65 2e 1f 0a | 28 64 65 66 61 6c 69 61 | move...|(defalia|
|00000fc0| 73 20 27 65 64 74 2d 70 | 61 67 65 20 23 5b 28 6e |s 'edt-p|age #[(n|
|00000fd0| 75 6d 29 20 22 08 09 9a | 83 5c 6e 00 c2 0b 21 87 |um) "...|.\n...!.|
|00000fe0| c4 0b 21 87 22 20 5b 65 | 64 74 2d 64 69 72 65 63 |..!." [e|dt-direc|
|00000ff0| 74 69 6f 6e 2d 73 74 72 | 69 6e 67 20 65 64 74 2d |tion-str|ing edt-|
|00001000| 66 6f 72 77 61 72 64 2d | 73 74 72 69 6e 67 20 65 |forward-|string e|
|00001010| 64 74 2d 70 61 67 65 2d | 66 6f 72 77 61 72 64 20 |dt-page-|forward |
|00001020| 6e 75 6d 20 65 64 74 2d | 70 61 67 65 2d 62 61 63 |num edt-|page-bac|
|00001030| 6b 77 61 72 64 5d 20 32 | 20 28 23 24 20 2e 20 33 |kward] 2| (#$ . 3|
|00001040| 38 39 35 29 20 22 70 22 | 5d 29 0a 23 40 31 31 36 |895) "p"|]).#@116|
|00001050| 20 4d 6f 76 65 20 63 75 | 72 73 6f 72 20 66 6f 72 | Move cu|rsor for|
|00001060| 77 61 72 64 20 74 77 6f | 2d 74 68 69 72 64 73 20 |ward two|-thirds |
|00001070| 6f 66 20 61 20 77 69 6e | 64 6f 77 2e 0a 41 63 63 |of a win|dow..Acc|
|00001080| 65 70 74 73 20 61 20 70 | 6f 73 69 74 69 76 65 20 |epts a p|ositive |
|00001090| 70 72 65 66 69 78 20 61 | 72 67 75 6d 65 6e 74 20 |prefix a|rgument |
|000010a0| 66 6f 72 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |for the |number o|
|000010b0| 66 20 73 65 63 74 69 6f | 6e 73 20 74 6f 20 6d 6f |f sectio|ns to mo|
|000010c0| 76 65 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |ve...(de|falias '|
|000010d0| 65 64 74 2d 73 65 63 74 | 2d 66 6f 72 77 61 72 64 |edt-sect|-forward|
|000010e0| 20 23 5b 28 6e 75 6d 29 | 20 22 c0 09 21 88 c2 c3 | #[(num)| "..!...|
|000010f0| 20 c4 5a c5 a5 c6 5f 09 | 5f 21 87 22 20 5b 65 64 | .Z..._.|_!." [ed|
|00001100| 74 2d 63 68 65 63 6b 2d | 70 72 65 66 69 78 20 6e |t-check-|prefix n|
|00001110| 75 6d 20 65 64 74 2d 6c | 69 6e 65 2d 66 6f 72 77 |um edt-l|ine-forw|
|00001120| 61 72 64 20 77 69 6e 64 | 6f 77 2d 68 65 69 67 68 |ard wind|ow-heigh|
|00001130| 74 20 31 20 33 20 32 5d | 20 33 20 28 23 24 20 2e |t 1 3 2]| 3 (#$ .|
|00001140| 20 34 31 37 37 29 20 22 | 70 22 5d 29 0a 23 40 31 | 4177) "|p"]).#@1|
|00001150| 31 37 20 4d 6f 76 65 20 | 63 75 72 73 6f 72 20 62 |17 Move |cursor b|
|00001160| 61 63 6b 77 61 72 64 20 | 74 77 6f 2d 74 68 69 72 |ackward |two-thir|
|00001170| 64 73 20 6f 66 20 61 20 | 77 69 6e 64 6f 77 2e 0a |ds of a |window..|
|00001180| 41 63 63 65 70 74 73 20 | 61 20 70 6f 73 69 74 69 |Accepts |a positi|
|00001190| 76 65 20 70 72 65 66 69 | 78 20 61 72 67 75 6d 65 |ve prefi|x argume|
|000011a0| 6e 74 20 66 6f 72 20 74 | 68 65 20 6e 75 6d 62 65 |nt for t|he numbe|
|000011b0| 72 20 6f 66 20 73 65 63 | 74 69 6f 6e 73 20 74 6f |r of sec|tions to|
|000011c0| 20 6d 6f 76 65 2e 1f 0a | 28 64 65 66 61 6c 69 61 | move...|(defalia|
|000011d0| 73 20 27 65 64 74 2d 73 | 65 63 74 2d 62 61 63 6b |s 'edt-s|ect-back|
|000011e0| 77 61 72 64 20 23 5b 28 | 6e 75 6d 29 20 22 c0 09 |ward #[(|num) "..|
|000011f0| 21 88 c2 c3 20 c4 5a c5 | a5 c6 5f 09 5f 21 87 22 |!... .Z.|.._._!."|
|00001200| 20 5b 65 64 74 2d 63 68 | 65 63 6b 2d 70 72 65 66 | [edt-ch|eck-pref|
|00001210| 69 78 20 6e 75 6d 20 65 | 64 74 2d 6c 69 6e 65 2d |ix num e|dt-line-|
|00001220| 62 61 63 6b 77 61 72 64 | 20 77 69 6e 64 6f 77 2d |backward| window-|
|00001230| 68 65 69 67 68 74 20 31 | 20 33 20 32 5d 20 33 20 |height 1| 3 2] 3 |
|00001240| 28 23 24 20 2e 20 34 34 | 33 35 29 20 22 70 22 5d |(#$ . 44|35) "p"]|
|00001250| 29 0a 23 40 31 30 39 20 | 4d 6f 76 65 20 69 6e 20 |).#@109 |Move in |
|00001260| 63 75 72 72 65 6e 74 20 | 64 69 72 65 63 74 69 6f |current |directio|
|00001270| 6e 20 61 20 66 75 6c 6c | 20 77 69 6e 64 6f 77 2e |n a full| window.|
|00001280| 0a 41 63 63 65 70 74 73 | 20 61 20 70 6f 73 69 74 |.Accepts| a posit|
|00001290| 69 76 65 20 70 72 65 66 | 69 78 20 61 72 67 75 6d |ive pref|ix argum|
|000012a0| 65 6e 74 20 66 6f 72 20 | 74 68 65 20 6e 75 6d 62 |ent for |the numb|
|000012b0| 65 72 20 77 69 6e 64 6f | 77 73 20 74 6f 20 6d 6f |er windo|ws to mo|
|000012c0| 76 65 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |ve...(de|falias '|
|000012d0| 65 64 74 2d 73 65 63 74 | 20 23 5b 28 6e 75 6d 29 |edt-sect| #[(num)|
|000012e0| 20 22 08 09 9a 83 5c 6e | 00 c2 0b 21 87 c4 0b 21 | "....\n|...!...!|
|000012f0| 87 22 20 5b 65 64 74 2d | 64 69 72 65 63 74 69 6f |." [edt-|directio|
|00001300| 6e 2d 73 74 72 69 6e 67 | 20 65 64 74 2d 66 6f 72 |n-string| edt-for|
|00001310| 77 61 72 64 2d 73 74 72 | 69 6e 67 20 65 64 74 2d |ward-str|ing edt-|
|00001320| 73 65 63 74 2d 66 6f 72 | 77 61 72 64 20 6e 75 6d |sect-for|ward num|
|00001330| 20 65 64 74 2d 73 65 63 | 74 2d 62 61 63 6b 77 61 | edt-sec|t-backwa|
|00001340| 72 64 5d 20 32 20 28 23 | 24 20 2e 20 34 36 39 36 |rd] 2 (#|$ . 4696|
|00001350| 29 20 22 70 22 5d 29 0a | 23 40 31 31 39 20 4d 6f |) "p"]).|#@119 Mo|
|00001360| 76 65 20 62 61 63 6b 77 | 61 72 64 20 74 6f 20 6e |ve backw|ard to n|
|00001370| 65 78 74 20 62 65 67 69 | 6e 6e 69 6e 67 20 6f 66 |ext begi|nning of|
|00001380| 20 6c 69 6e 65 20 6d 61 | 72 6b 2e 0a 41 63 63 65 | line ma|rk..Acce|
|00001390| 70 74 73 20 61 20 70 6f | 73 69 74 69 76 65 20 70 |pts a po|sitive p|
|000013a0| 72 65 66 69 78 20 61 72 | 67 75 6d 65 6e 74 20 66 |refix ar|gument f|
|000013b0| 6f 72 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |or the n|umber of|
|000013c0| 20 42 4f 4c 20 6d 61 72 | 6b 73 20 74 6f 20 6d 6f | BOL mar|ks to mo|
|000013d0| 76 65 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |ve...(de|falias '|
|000013e0| 65 64 74 2d 62 65 67 69 | 6e 6e 69 6e 67 2d 6f 66 |edt-begi|nning-of|
|000013f0| 2d 6c 69 6e 65 20 23 5b | 28 6e 75 6d 29 20 22 c0 |-line #[|(num) ".|
|00001400| 09 21 88 6e 83 5c 66 00 | 09 5b 79 87 09 53 89 11 |.!.n.\f.|.[y..S..|
|00001410| 5b 79 87 22 20 5b 65 64 | 74 2d 63 68 65 63 6b 2d |[y." [ed|t-check-|
|00001420| 70 72 65 66 69 78 20 6e | 75 6d 5d 20 33 20 28 23 |prefix n|um] 3 (#|
|00001430| 24 20 2e 20 34 39 35 38 | 29 20 22 70 22 5d 29 0a |$ . 4958|) "p"]).|
|00001440| 23 40 31 31 32 20 4d 6f | 76 65 20 66 6f 72 77 61 |#@112 Mo|ve forwa|
|00001450| 72 64 20 74 6f 20 6e 65 | 78 74 20 65 6e 64 20 6f |rd to ne|xt end o|
|00001460| 66 20 6c 69 6e 65 20 6d | 61 72 6b 2e 0a 41 63 63 |f line m|ark..Acc|
|00001470| 65 70 74 73 20 61 20 70 | 6f 73 69 74 69 76 65 20 |epts a p|ositive |
|00001480| 70 72 65 66 69 78 20 61 | 72 67 75 6d 65 6e 74 20 |prefix a|rgument |
|00001490| 66 6f 72 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |for the |number o|
|000014a0| 66 20 45 4f 4c 20 6d 61 | 72 6b 73 20 74 6f 20 6d |f EOL ma|rks to m|
|000014b0| 6f 76 65 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |ove...(d|efalias |
|000014c0| 27 65 64 74 2d 65 6e 64 | 2d 6f 66 2d 6c 69 6e 65 |'edt-end|-of-line|
|000014d0| 2d 66 6f 72 77 61 72 64 | 20 23 5b 28 6e 75 6d 29 |-forward| #[(num)|
|000014e0| 20 22 c0 09 21 88 c2 75 | 88 09 7f 87 22 20 5b 65 | "..!..u|...." [e|
|000014f0| 64 74 2d 63 68 65 63 6b | 2d 70 72 65 66 69 78 20 |dt-check|-prefix |
|00001500| 6e 75 6d 20 6e 69 6c 5d | 20 32 20 28 23 24 20 2e |num nil]| 2 (#$ .|
|00001510| 20 35 31 39 30 29 20 22 | 70 22 5d 29 0a 23 40 31 | 5190) "|p"]).#@1|
|00001520| 31 33 20 4d 6f 76 65 20 | 62 61 63 6b 77 61 72 64 |13 Move |backward|
|00001530| 20 74 6f 20 6e 65 78 74 | 20 65 6e 64 20 6f 66 20 | to next| end of |
|00001540| 6c 69 6e 65 20 6d 61 72 | 6b 2e 0a 41 63 63 65 70 |line mar|k..Accep|
|00001550| 74 73 20 61 20 70 6f 73 | 69 74 69 76 65 20 70 72 |ts a pos|itive pr|
|00001560| 65 66 69 78 20 61 72 67 | 75 6d 65 6e 74 20 66 6f |efix arg|ument fo|
|00001570| 72 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |r the nu|mber of |
|00001580| 45 4f 4c 20 6d 61 72 6b | 73 20 74 6f 20 6d 6f 76 |EOL mark|s to mov|
|00001590| 65 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 65 |e...(def|alias 'e|
|000015a0| 64 74 2d 65 6e 64 2d 6f | 66 2d 6c 69 6e 65 2d 62 |dt-end-o|f-line-b|
|000015b0| 61 63 6b 77 61 72 64 20 | 23 5b 28 6e 75 6d 29 20 |ackward |#[(num) |
|000015c0| 22 c0 09 21 88 09 53 7f | 87 22 20 5b 65 64 74 2d |"..!..S.|." [edt-|
|000015d0| 63 68 65 63 6b 2d 70 72 | 65 66 69 78 20 6e 75 6d |check-pr|efix num|
|000015e0| 5d 20 32 20 28 23 24 20 | 2e 20 35 34 31 31 29 20 |] 2 (#$ |. 5411) |
|000015f0| 22 70 22 5d 29 0a 23 40 | 31 32 35 20 4d 6f 76 65 |"p"]).#@|125 Move|
|00001600| 20 69 6e 20 63 75 72 72 | 65 6e 74 20 64 69 72 65 | in curr|ent dire|
|00001610| 63 74 69 6f 6e 20 74 6f | 20 6e 65 78 74 20 65 6e |ction to| next en|
|00001620| 64 20 6f 66 20 6c 69 6e | 65 20 6d 61 72 6b 2e 0a |d of lin|e mark..|
|00001630| 41 63 63 65 70 74 73 20 | 61 20 70 6f 73 69 74 69 |Accepts |a positi|
|00001640| 76 65 20 70 72 65 66 69 | 78 20 61 72 67 75 6d 65 |ve prefi|x argume|
|00001650| 6e 74 20 66 6f 72 20 74 | 68 65 20 6e 75 6d 62 65 |nt for t|he numbe|
|00001660| 72 20 6f 66 20 45 4f 4c | 20 6d 61 72 6b 73 20 74 |r of EOL| marks t|
|00001670| 6f 20 6d 6f 76 65 2e 1f | 0a 28 64 65 66 61 6c 69 |o move..|.(defali|
|00001680| 61 73 20 27 65 64 74 2d | 65 6e 64 2d 6f 66 2d 6c |as 'edt-|end-of-l|
|00001690| 69 6e 65 20 23 5b 28 6e | 75 6d 29 20 22 08 09 9a |ine #[(n|um) "...|
|000016a0| 83 5c 6e 00 c2 0b 21 87 | c4 0b 21 87 22 20 5b 65 |.\n...!.|..!." [e|
|000016b0| 64 74 2d 64 69 72 65 63 | 74 69 6f 6e 2d 73 74 72 |dt-direc|tion-str|
|000016c0| 69 6e 67 20 65 64 74 2d | 66 6f 72 77 61 72 64 2d |ing edt-|forward-|
|000016d0| 73 74 72 69 6e 67 20 65 | 64 74 2d 65 6e 64 2d 6f |string e|dt-end-o|
|000016e0| 66 2d 6c 69 6e 65 2d 66 | 6f 72 77 61 72 64 20 6e |f-line-f|orward n|
|000016f0| 75 6d 20 65 64 74 2d 65 | 6e 64 2d 6f 66 2d 6c 69 |um edt-e|nd-of-li|
|00001700| 6e 65 2d 62 61 63 6b 77 | 61 72 64 5d 20 32 20 28 |ne-backw|ard] 2 (|
|00001710| 23 24 20 2e 20 35 36 32 | 38 29 20 22 70 22 5d 29 |#$ . 562|8) "p"])|
|00001720| 0a 23 40 34 37 20 4d 6f | 76 65 20 66 6f 72 77 61 |.#@47 Mo|ve forwa|
|00001730| 72 64 20 74 6f 20 66 69 | 72 73 74 20 63 68 61 72 |rd to fi|rst char|
|00001740| 61 63 74 65 72 20 6f 66 | 20 6e 65 78 74 20 77 6f |acter of| next wo|
|00001750| 72 64 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |rd...(de|falias '|
|00001760| 65 64 74 2d 6f 6e 65 2d | 77 6f 72 64 2d 66 6f 72 |edt-one-|word-for|
|00001770| 77 61 72 64 20 23 5b 6e | 69 6c 20 22 6d 83 08 00 |ward #[n|il "m...|
|00001780| c0 c1 21 88 6c 83 0f 00 | c2 75 87 67 0b 3e 83 1b |..!.l...|.u.g.>..|
|00001790| 00 c2 75 88 82 36 00 6c | 84 36 00 6d 84 36 00 67 |..u..6.l|.6.m.6.g|
|000017a0| 7a c4 3d 84 36 00 67 0b | 3e 84 36 00 c2 75 88 82 |z.=.6.g.|>.6..u..|
|000017b0| 1b 00 6c 3f 85 54 00 6d | 3f 85 54 00 67 7a c4 3d |..l?.T.m|?.T.gz.=|
|000017c0| 85 54 00 67 0b 3e 3f 85 | 54 00 c2 75 88 82 36 00 |.T.g.>?.|T..u..6.|
|000017d0| 87 22 20 5b 65 72 72 6f | 72 20 22 45 6e 64 20 6f |." [erro|r "End o|
|000017e0| 66 20 62 75 66 66 65 72 | 22 20 6e 69 6c 20 65 64 |f buffer|" nil ed|
|000017f0| 74 2d 77 6f 72 64 2d 65 | 6e 74 69 74 69 65 73 20 |t-word-e|ntities |
|00001800| 33 32 5d 20 32 20 28 23 | 24 20 2e 20 35 39 32 36 |32] 2 (#|$ . 5926|
|00001810| 29 20 6e 69 6c 5d 29 0a | 23 40 35 32 20 4d 6f 76 |) nil]).|#@52 Mov|
|00001820| 65 20 62 61 63 6b 77 61 | 72 64 20 74 6f 20 66 69 |e backwa|rd to fi|
|00001830| 72 73 74 20 63 68 61 72 | 61 63 74 65 72 20 6f 66 |rst char|acter of|
|00001840| 20 70 72 65 76 69 6f 75 | 73 20 77 6f 72 64 2e 1f | previou|s word..|
|00001850| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 65 64 74 2d |.(defali|as 'edt-|
|00001860| 6f 6e 65 2d 77 6f 72 64 | 2d 62 61 63 6b 77 61 72 |one-word|-backwar|
|00001870| 64 20 23 5b 6e 69 6c 20 | 22 6f 83 08 00 c0 c1 21 |d #[nil |"o.....!|
|00001880| 88 6e 83 0f 00 c2 20 87 | c2 20 88 6e 84 2d 00 6f |.n.... .|. .n.-.o|
|00001890| 84 2d 00 67 7a c3 3d 83 | 2d 00 67 5c 66 3e 84 2d |.-.gz.=.|-.g\f>.-|
|000018a0| 00 c2 20 88 82 12 00 67 | 5c 66 3e 3f 85 53 00 6e |.. ....g|\f>?.S.n|
|000018b0| 3f 85 53 00 6f 3f 85 53 | 00 68 7a c3 3d 3f 85 53 |?.S.o?.S|.hz.=?.S|
|000018c0| 00 68 5c 66 3e 3f 85 53 | 00 c2 20 88 82 34 00 87 |.h\f>?.S|.. ..4..|
|000018d0| 22 20 5b 65 72 72 6f 72 | 20 22 42 65 67 69 6e 6e |" [error| "Beginn|
|000018e0| 69 6e 67 20 6f 66 20 62 | 75 66 66 65 72 22 20 62 |ing of b|uffer" b|
|000018f0| 61 63 6b 77 61 72 64 2d | 63 68 61 72 20 33 32 20 |ackward-|char 32 |
|00001900| 65 64 74 2d 77 6f 72 64 | 2d 65 6e 74 69 74 69 65 |edt-word|-entitie|
|00001910| 73 5d 20 32 20 28 23 24 | 20 2e 20 36 31 37 33 29 |s] 2 (#$| . 6173)|
|00001920| 20 6e 69 6c 5d 29 0a 23 | 40 31 31 35 20 4d 6f 76 | nil]).#|@115 Mov|
|00001930| 65 20 66 6f 72 77 61 72 | 64 20 74 6f 20 66 69 72 |e forwar|d to fir|
|00001940| 73 74 20 63 68 61 72 61 | 63 74 65 72 20 6f 66 20 |st chara|cter of |
|00001950| 6e 65 78 74 20 77 6f 72 | 64 2e 0a 41 63 63 65 70 |next wor|d..Accep|
|00001960| 74 73 20 61 20 70 6f 73 | 69 74 69 76 65 20 70 72 |ts a pos|itive pr|
|00001970| 65 66 69 78 20 61 72 67 | 75 6d 65 6e 74 20 66 6f |efix arg|ument fo|
|00001980| 72 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |r the nu|mber of |
|00001990| 77 6f 72 64 73 20 74 6f | 20 6d 6f 76 65 2e 1f 0a |words to| move...|
|000019a0| 28 64 65 66 61 6c 69 61 | 73 20 27 65 64 74 2d 77 |(defalia|s 'edt-w|
|000019b0| 6f 72 64 2d 66 6f 72 77 | 61 72 64 20 23 5b 28 6e |ord-forw|ard #[(n|
|000019c0| 75 6d 29 20 22 c0 09 21 | 88 09 c2 56 85 14 00 c3 |um) "..!|...V....|
|000019d0| 20 88 09 53 89 11 82 05 | 00 87 22 20 5b 65 64 74 | ..S....|.." [edt|
|000019e0| 2d 63 68 65 63 6b 2d 70 | 72 65 66 69 78 20 6e 75 |-check-p|refix nu|
|000019f0| 6d 20 30 20 65 64 74 2d | 6f 6e 65 2d 77 6f 72 64 |m 0 edt-|one-word|
|00001a00| 2d 66 6f 72 77 61 72 64 | 5d 20 33 20 28 23 24 20 |-forward|] 3 (#$ |
|00001a10| 2e 20 36 34 34 35 29 20 | 22 70 22 5d 29 0a 23 40 |. 6445) |"p"]).#@|
|00001a20| 31 32 30 20 4d 6f 76 65 | 20 62 61 63 6b 77 61 72 |120 Move| backwar|
|00001a30| 64 20 74 6f 20 66 69 72 | 73 74 20 63 68 61 72 61 |d to fir|st chara|
|00001a40| 63 74 65 72 20 6f 66 20 | 70 72 65 76 69 6f 75 73 |cter of |previous|
|00001a50| 20 77 6f 72 64 2e 0a 41 | 63 63 65 70 74 73 20 61 | word..A|ccepts a|
|00001a60| 20 70 6f 73 69 74 69 76 | 65 20 70 72 65 66 69 78 | positiv|e prefix|
|00001a70| 20 61 72 67 75 6d 65 6e | 74 20 66 6f 72 20 74 68 | argumen|t for th|
|00001a80| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 77 6f 72 64 |e number| of word|
|00001a90| 73 20 74 6f 20 6d 6f 76 | 65 2e 1f 0a 28 64 65 66 |s to mov|e...(def|
|00001aa0| 61 6c 69 61 73 20 27 65 | 64 74 2d 77 6f 72 64 2d |alias 'e|dt-word-|
|00001ab0| 62 61 63 6b 77 61 72 64 | 20 23 5b 28 6e 75 6d 29 |backward| #[(num)|
|00001ac0| 20 22 c0 09 21 88 09 c2 | 56 85 14 00 c3 20 88 09 | "..!...|V.... ..|
|00001ad0| 53 89 11 82 05 00 87 22 | 20 5b 65 64 74 2d 63 68 |S......"| [edt-ch|
|00001ae0| 65 63 6b 2d 70 72 65 66 | 69 78 20 6e 75 6d 20 30 |eck-pref|ix num 0|
|00001af0| 20 65 64 74 2d 6f 6e 65 | 2d 77 6f 72 64 2d 62 61 | edt-one|-word-ba|
|00001b00| 63 6b 77 61 72 64 5d 20 | 33 20 28 23 24 20 2e 20 |ckward] |3 (#$ . |
|00001b10| 36 36 39 32 29 20 22 70 | 22 5d 29 0a 23 40 31 32 |6692) "p|"]).#@12|
|00001b20| 38 20 4d 6f 76 65 20 69 | 6e 20 63 75 72 72 65 6e |8 Move i|n curren|
|00001b30| 74 20 64 69 72 65 63 74 | 69 6f 6e 20 74 6f 20 66 |t direct|ion to f|
|00001b40| 69 72 73 74 20 63 68 61 | 72 61 63 74 65 72 20 6f |irst cha|racter o|
|00001b50| 66 20 6e 65 78 74 20 77 | 6f 72 64 2e 0a 41 63 63 |f next w|ord..Acc|
|00001b60| 65 70 74 73 20 61 20 70 | 6f 73 69 74 69 76 65 20 |epts a p|ositive |
|00001b70| 70 72 65 66 69 78 20 61 | 72 67 75 6d 65 6e 74 20 |prefix a|rgument |
|00001b80| 66 6f 72 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |for the |number o|
|00001b90| 66 20 77 6f 72 64 73 20 | 74 6f 20 6d 6f 76 65 2e |f words |to move.|
|00001ba0| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 65 64 74 |..(defal|ias 'edt|
|00001bb0| 2d 77 6f 72 64 20 23 5b | 28 6e 75 6d 29 20 22 08 |-word #[|(num) ".|
|00001bc0| 09 9a 83 5c 6e 00 c2 0b | 21 87 c4 0b 21 87 22 20 |...\n...|!...!." |
|00001bd0| 5b 65 64 74 2d 64 69 72 | 65 63 74 69 6f 6e 2d 73 |[edt-dir|ection-s|
|00001be0| 74 72 69 6e 67 20 65 64 | 74 2d 66 6f 72 77 61 72 |tring ed|t-forwar|
|00001bf0| 64 2d 73 74 72 69 6e 67 | 20 65 64 74 2d 77 6f 72 |d-string| edt-wor|
|00001c00| 64 2d 66 6f 72 77 61 72 | 64 20 6e 75 6d 20 65 64 |d-forwar|d num ed|
|00001c10| 74 2d 77 6f 72 64 2d 62 | 61 63 6b 77 61 72 64 5d |t-word-b|ackward]|
|00001c20| 20 32 20 28 23 24 20 2e | 20 36 39 34 36 29 20 22 | 2 (#$ .| 6946) "|
|00001c30| 70 22 5d 29 0a 23 40 31 | 31 39 20 4d 6f 76 65 20 |p"]).#@1|19 Move |
|00001c40| 69 6e 20 63 75 72 72 65 | 6e 74 20 64 69 72 65 63 |in curre|nt direc|
|00001c50| 74 69 6f 6e 20 74 6f 20 | 6e 65 78 74 20 63 68 61 |tion to |next cha|
|00001c60| 72 61 63 74 65 72 2e 0a | 41 63 63 65 70 74 73 20 |racter..|Accepts |
|00001c70| 61 20 70 6f 73 69 74 69 | 76 65 20 70 72 65 66 69 |a positi|ve prefi|
|00001c80| 78 20 61 72 67 75 6d 65 | 6e 74 20 66 6f 72 20 74 |x argume|nt for t|
|00001c90| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 63 68 61 |he numbe|r of cha|
|00001ca0| 72 61 63 74 65 72 73 20 | 74 6f 20 6d 6f 76 65 2e |racters |to move.|
|00001cb0| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 65 64 74 |..(defal|ias 'edt|
|00001cc0| 2d 63 68 61 72 61 63 74 | 65 72 20 23 5b 28 6e 75 |-charact|er #[(nu|
|00001cd0| 6d 29 20 22 c0 09 21 88 | 5c 6e 0b 9a 83 0d 00 09 |m) "..!.|\n......|
|00001ce0| 75 87 c4 09 21 87 22 20 | 5b 65 64 74 2d 63 68 65 |u...!." |[edt-che|
|00001cf0| 63 6b 2d 70 72 65 66 69 | 78 20 6e 75 6d 20 65 64 |ck-prefi|x num ed|
|00001d00| 74 2d 64 69 72 65 63 74 | 69 6f 6e 2d 73 74 72 69 |t-direct|ion-stri|
|00001d10| 6e 67 20 65 64 74 2d 66 | 6f 72 77 61 72 64 2d 73 |ng edt-f|orward-s|
|00001d20| 74 72 69 6e 67 20 62 61 | 63 6b 77 61 72 64 2d 63 |tring ba|ckward-c|
|00001d30| 68 61 72 5d 20 32 20 28 | 23 24 20 2e 20 37 32 32 |har] 2 (|#$ . 722|
|00001d40| 37 29 20 22 70 22 5d 29 | 0a 23 40 31 31 39 20 4d |7) "p"])|.#@119 M|
|00001d50| 6f 76 65 20 62 61 63 6b | 77 61 72 64 20 74 6f 20 |ove back|ward to |
|00001d60| 6e 65 78 74 20 62 65 67 | 69 6e 6e 69 6e 67 20 6f |next beg|inning o|
|00001d70| 66 20 6c 69 6e 65 20 6d | 61 72 6b 2e 0a 41 63 63 |f line m|ark..Acc|
|00001d80| 65 70 74 73 20 61 20 70 | 6f 73 69 74 69 76 65 20 |epts a p|ositive |
|00001d90| 70 72 65 66 69 78 20 61 | 72 67 75 6d 65 6e 74 20 |prefix a|rgument |
|00001da0| 66 6f 72 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |for the |number o|
|00001db0| 66 20 42 4f 4c 20 6d 61 | 72 6b 73 20 74 6f 20 6d |f BOL ma|rks to m|
|00001dc0| 6f 76 65 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |ove...(d|efalias |
|00001dd0| 27 65 64 74 2d 6c 69 6e | 65 2d 62 61 63 6b 77 61 |'edt-lin|e-backwa|
|00001de0| 72 64 20 23 5b 28 6e 75 | 6d 29 20 22 c0 09 21 87 |rd #[(nu|m) "..!.|
|00001df0| 22 20 5b 65 64 74 2d 62 | 65 67 69 6e 6e 69 6e 67 |" [edt-b|eginning|
|00001e00| 2d 6f 66 2d 6c 69 6e 65 | 20 6e 75 6d 5d 20 32 20 |-of-line| num] 2 |
|00001e10| 28 23 24 20 2e 20 37 35 | 30 33 29 20 22 70 22 5d |(#$ . 75|03) "p"]|
|00001e20| 29 0a 23 40 31 31 38 20 | 4d 6f 76 65 20 66 6f 72 |).#@118 |Move for|
|00001e30| 77 61 72 64 20 74 6f 20 | 6e 65 78 74 20 62 65 67 |ward to |next beg|
|00001e40| 69 6e 6e 69 6e 67 20 6f | 66 20 6c 69 6e 65 20 6d |inning o|f line m|
|00001e50| 61 72 6b 2e 0a 41 63 63 | 65 70 74 73 20 61 20 70 |ark..Acc|epts a p|
|00001e60| 6f 73 69 74 69 76 65 20 | 70 72 65 66 69 78 20 61 |ositive |prefix a|
|00001e70| 72 67 75 6d 65 6e 74 20 | 66 6f 72 20 74 68 65 20 |rgument |for the |
|00001e80| 6e 75 6d 62 65 72 20 6f | 66 20 42 4f 4c 20 6d 61 |number o|f BOL ma|
|00001e90| 72 6b 73 20 74 6f 20 6d | 6f 76 65 2e 1f 0a 28 64 |rks to m|ove...(d|
|00001ea0| 65 66 61 6c 69 61 73 20 | 27 65 64 74 2d 6c 69 6e |efalias |'edt-lin|
|00001eb0| 65 2d 66 6f 72 77 61 72 | 64 20 23 5b 28 6e 75 6d |e-forwar|d #[(num|
|00001ec0| 29 20 22 c0 09 21 88 09 | 79 87 22 20 5b 65 64 74 |) "..!..|y." [edt|
|00001ed0| 2d 63 68 65 63 6b 2d 70 | 72 65 66 69 78 20 6e 75 |-check-p|refix nu|
|00001ee0| 6d 5d 20 32 20 28 23 24 | 20 2e 20 37 37 32 30 29 |m] 2 (#$| . 7720)|
|00001ef0| 20 22 70 22 5d 29 0a 23 | 40 31 33 31 20 4d 6f 76 | "p"]).#|@131 Mov|
|00001f00| 65 20 69 6e 20 63 75 72 | 72 65 6e 74 20 64 69 72 |e in cur|rent dir|
|00001f10| 65 63 74 69 6f 6e 20 74 | 6f 20 6e 65 78 74 20 62 |ection t|o next b|
|00001f20| 65 67 69 6e 6e 69 6e 67 | 20 6f 66 20 6c 69 6e 65 |eginning| of line|
|00001f30| 20 6d 61 72 6b 2e 0a 41 | 63 63 65 70 74 73 20 61 | mark..A|ccepts a|
|00001f40| 20 70 6f 73 69 74 69 76 | 65 20 70 72 65 66 69 78 | positiv|e prefix|
|00001f50| 20 61 72 67 75 6d 65 6e | 74 20 66 6f 72 20 74 68 | argumen|t for th|
|00001f60| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 42 4f 4c 20 |e number| of BOL |
|00001f70| 6d 61 72 6b 73 20 74 6f | 20 6d 6f 76 65 2e 1f 0a |marks to| move...|
|00001f80| 28 64 65 66 61 6c 69 61 | 73 20 27 65 64 74 2d 6c |(defalia|s 'edt-l|
|00001f90| 69 6e 65 20 23 5b 28 6e | 75 6d 29 20 22 08 09 9a |ine #[(n|um) "...|
|00001fa0| 83 5c 6e 00 c2 0b 21 87 | c4 0b 21 87 22 20 5b 65 |.\n...!.|..!." [e|
|00001fb0| 64 74 2d 64 69 72 65 63 | 74 69 6f 6e 2d 73 74 72 |dt-direc|tion-str|
|00001fc0| 69 6e 67 20 65 64 74 2d | 66 6f 72 77 61 72 64 2d |ing edt-|forward-|
|00001fd0| 73 74 72 69 6e 67 20 65 | 64 74 2d 6c 69 6e 65 2d |string e|dt-line-|
|00001fe0| 66 6f 72 77 61 72 64 20 | 6e 75 6d 20 65 64 74 2d |forward |num edt-|
|00001ff0| 6c 69 6e 65 2d 62 61 63 | 6b 77 61 72 64 5d 20 32 |line-bac|kward] 2|
|00002000| 20 28 23 24 20 2e 20 37 | 39 33 33 29 20 22 70 22 | (#$ . 7|933) "p"|
|00002010| 5d 29 0a 23 40 34 31 20 | 4d 6f 76 65 20 63 75 72 |]).#@41 |Move cur|
|00002020| 73 6f 72 20 74 6f 20 74 | 68 65 20 62 65 67 69 6e |sor to t|he begin|
|00002030| 6e 69 6e 67 20 6f 66 20 | 62 75 66 66 65 72 2e 1f |ning of |buffer..|
|00002040| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 65 64 74 2d |.(defali|as 'edt-|
|00002050| 74 6f 70 20 23 5b 6e 69 | 6c 20 22 65 62 87 22 20 |top #[ni|l "eb." |
|00002060| 5b 5d 20 31 20 28 23 24 | 20 2e 20 38 32 31 36 29 |[] 1 (#$| . 8216)|
|00002070| 20 6e 69 6c 5d 29 0a 23 | 40 33 35 20 4d 6f 76 65 | nil]).#|@35 Move|
|00002080| 20 63 75 72 73 6f 72 20 | 74 6f 20 74 68 65 20 65 | cursor |to the e|
|00002090| 6e 64 20 6f 66 20 62 75 | 66 66 65 72 2e 1f 0a 28 |nd of bu|ffer...(|
|000020a0| 64 65 66 61 6c 69 61 73 | 20 27 65 64 74 2d 62 6f |defalias| 'edt-bo|
|000020b0| 74 74 6f 6d 20 23 5b 6e | 69 6c 20 22 64 62 88 c0 |ttom #[n|il "db..|
|000020c0| 20 87 22 20 5b 65 64 74 | 2d 6c 69 6e 65 2d 74 6f | ." [edt|-line-to|
|000020d0| 2d 62 6f 74 74 6f 6d 2d | 6f 66 2d 77 69 6e 64 6f |-bottom-|of-windo|
|000020e0| 77 5d 20 31 20 28 23 24 | 20 2e 20 38 33 31 36 29 |w] 1 (#$| . 8316)|
|000020f0| 20 6e 69 6c 5d 29 0a 23 | 40 36 39 20 46 69 6e 64 | nil]).#|@69 Find|
|00002100| 20 66 69 72 73 74 20 6f | 63 63 75 72 72 65 6e 63 | first o|ccurrenc|
|00002110| 65 20 6f 66 20 61 20 73 | 74 72 69 6e 67 20 69 6e |e of a s|tring in|
|00002120| 20 66 6f 72 77 61 72 64 | 20 64 69 72 65 63 74 69 | forward| directi|
|00002130| 6f 6e 20 61 6e 64 20 73 | 61 76 65 20 69 74 2e 1f |on and s|ave it..|
|00002140| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 65 64 74 2d |.(defali|as 'edt-|
|00002150| 66 69 6e 64 2d 66 6f 72 | 77 61 72 64 20 23 5b 28 |find-for|ward #[(|
|00002160| 26 6f 70 74 69 6f 6e 61 | 6c 20 66 69 6e 64 29 20 |&optiona|l find) |
|00002170| 22 08 84 5c 6e 00 c1 c2 | c3 21 4c 88 c4 09 21 85 |"..\n...|.!L...!.|
|00002180| 13 00 c5 09 21 87 22 20 | 5b 66 69 6e 64 20 73 65 |....!." |[find se|
|00002190| 61 72 63 68 2d 6c 61 73 | 74 2d 73 74 72 69 6e 67 |arch-las|t-string|
|000021a0| 20 72 65 61 64 2d 73 74 | 72 69 6e 67 20 22 53 65 | read-st|ring "Se|
|000021b0| 61 72 63 68 20 66 6f 72 | 77 61 72 64 3a 20 22 20 |arch for|ward: " |
|000021c0| 73 65 61 72 63 68 2d 66 | 6f 72 77 61 72 64 20 73 |search-f|orward s|
|000021d0| 65 61 72 63 68 2d 62 61 | 63 6b 77 61 72 64 5d 20 |earch-ba|ckward] |
|000021e0| 33 20 28 23 24 20 2e 20 | 38 34 34 34 29 20 6e 69 |3 (#$ . |8444) ni|
|000021f0| 6c 5d 29 0a 23 40 37 34 | 20 46 69 6e 64 20 66 69 |l]).#@74| Find fi|
|00002200| 72 73 74 20 6f 63 63 75 | 72 72 65 6e 63 65 20 6f |rst occu|rrence o|
|00002210| 66 20 61 20 73 74 72 69 | 6e 67 20 69 6e 20 74 68 |f a stri|ng in th|
|00002220| 65 20 62 61 63 6b 77 61 | 72 64 20 64 69 72 65 63 |e backwa|rd direc|
|00002230| 74 69 6f 6e 20 61 6e 64 | 20 73 61 76 65 20 69 74 |tion and| save it|
|00002240| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 65 64 |...(defa|lias 'ed|
|00002250| 74 2d 66 69 6e 64 2d 62 | 61 63 6b 77 61 72 64 20 |t-find-b|ackward |
|00002260| 23 5b 28 26 6f 70 74 69 | 6f 6e 61 6c 20 66 69 6e |#[(&opti|onal fin|
|00002270| 64 29 20 22 08 84 5c 6e | 00 c1 c2 c3 21 4c 88 c4 |d) "..\n|....!L..|
|00002280| 09 21 87 22 20 5b 66 69 | 6e 64 20 73 65 61 72 63 |.!." [fi|nd searc|
|00002290| 68 2d 6c 61 73 74 2d 73 | 74 72 69 6e 67 20 72 65 |h-last-s|tring re|
|000022a0| 61 64 2d 73 74 72 69 6e | 67 20 22 53 65 61 72 63 |ad-strin|g "Searc|
|000022b0| 68 20 62 61 63 6b 77 61 | 72 64 3a 20 22 20 73 65 |h backwa|rd: " se|
|000022c0| 61 72 63 68 2d 62 61 63 | 6b 77 61 72 64 5d 20 33 |arch-bac|kward] 3|
|000022d0| 20 28 23 24 20 2e 20 38 | 36 39 37 29 20 6e 69 6c | (#$ . 8|697) nil|
|000022e0| 5d 29 0a 23 40 36 37 20 | 46 69 6e 64 20 66 69 72 |]).#@67 |Find fir|
|000022f0| 73 74 20 6f 63 63 75 72 | 72 65 6e 63 65 20 6f 66 |st occur|rence of|
|00002300| 20 73 74 72 69 6e 67 20 | 69 6e 20 63 75 72 72 65 | string |in curre|
|00002310| 6e 74 20 64 69 72 65 63 | 74 69 6f 6e 20 61 6e 64 |nt direc|tion and|
|00002320| 20 73 61 76 65 20 69 74 | 2e 1f 0a 28 64 65 66 61 | save it|...(defa|
|00002330| 6c 69 61 73 20 27 65 64 | 74 2d 66 69 6e 64 20 23 |lias 'ed|t-find #|
|00002340| 5b 6e 69 6c 20 22 c0 c1 | c2 21 4c 88 0b 5c 66 9a |[nil "..|.!L..\f.|
|00002350| 83 10 00 c5 c6 21 87 c7 | c6 21 87 22 20 5b 73 65 |.....!..|.!." [se|
|00002360| 61 72 63 68 2d 6c 61 73 | 74 2d 73 74 72 69 6e 67 |arch-las|t-string|
|00002370| 20 72 65 61 64 2d 73 74 | 72 69 6e 67 20 22 53 65 | read-st|ring "Se|
|00002380| 61 72 63 68 3a 20 22 20 | 65 64 74 2d 64 69 72 65 |arch: " |edt-dire|
|00002390| 63 74 69 6f 6e 2d 73 74 | 72 69 6e 67 20 65 64 74 |ction-st|ring edt|
|000023a0| 2d 66 6f 72 77 61 72 64 | 2d 73 74 72 69 6e 67 20 |-forward|-string |
|000023b0| 65 64 74 2d 66 69 6e 64 | 2d 66 6f 72 77 61 72 64 |edt-find|-forward|
|000023c0| 20 74 20 65 64 74 2d 66 | 69 6e 64 2d 62 61 63 6b | t edt-f|ind-back|
|000023d0| 77 61 72 64 5d 20 33 20 | 28 23 24 20 2e 20 38 39 |ward] 3 |(#$ . 89|
|000023e0| 33 36 29 20 6e 69 6c 5d | 29 0a 23 40 35 36 20 46 |36) nil]|).#@56 F|
|000023f0| 69 6e 64 20 6e 65 78 74 | 20 6f 63 63 75 72 72 65 |ind next| occurre|
|00002400| 6e 63 65 20 6f 66 20 61 | 20 73 74 72 69 6e 67 20 |nce of a| string |
|00002410| 69 6e 20 66 6f 72 77 61 | 72 64 20 64 69 72 65 63 |in forwa|rd direc|
|00002420| 74 69 6f 6e 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |tion...(|defalias|
|00002430| 20 27 65 64 74 2d 66 69 | 6e 64 2d 6e 65 78 74 2d | 'edt-fi|nd-next-|
|00002440| 66 6f 72 77 61 72 64 20 | 23 5b 6e 69 6c 20 22 c0 |forward |#[nil ".|
|00002450| 75 88 c1 5c 6e c3 c4 23 | 83 0f 00 c5 5c 6e 21 87 |u..\n..#|....\n!.|
|00002460| c6 c0 21 88 c7 c8 5c 6e | 5c 22 87 22 20 5b 31 20 |..!...\n|\"." [1 |
|00002470| 73 65 61 72 63 68 2d 66 | 6f 72 77 61 72 64 20 73 |search-f|orward s|
|00002480| 65 61 72 63 68 2d 6c 61 | 73 74 2d 73 74 72 69 6e |earch-la|st-strin|
|00002490| 67 20 6e 69 6c 20 74 20 | 73 65 61 72 63 68 2d 62 |g nil t |search-b|
|000024a0| 61 63 6b 77 61 72 64 20 | 62 61 63 6b 77 61 72 64 |ackward |backward|
|000024b0| 2d 63 68 61 72 20 65 72 | 72 6f 72 20 22 53 65 61 |-char er|ror "Sea|
|000024c0| 72 63 68 20 66 61 69 6c | 65 64 3a 20 5c 22 25 73 |rch fail|ed: \"%s|
|000024d0| 5c 22 2e 22 5d 20 34 20 | 28 23 24 20 2e 20 39 31 |\"."] 4 |(#$ . 91|
|000024e0| 39 39 29 20 6e 69 6c 5d | 29 0a 23 40 35 37 20 46 |99) nil]|).#@57 F|
|000024f0| 69 6e 64 20 6e 65 78 74 | 20 6f 63 63 75 72 72 65 |ind next| occurre|
|00002500| 6e 63 65 20 6f 66 20 61 | 20 73 74 72 69 6e 67 20 |nce of a| string |
|00002510| 69 6e 20 62 61 63 6b 77 | 61 72 64 20 64 69 72 65 |in backw|ard dire|
|00002520| 63 74 69 6f 6e 2e 1f 0a | 28 64 65 66 61 6c 69 61 |ction...|(defalia|
|00002530| 73 20 27 65 64 74 2d 66 | 69 6e 64 2d 6e 65 78 74 |s 'edt-f|ind-next|
|00002540| 2d 62 61 63 6b 77 61 72 | 64 20 23 5b 6e 69 6c 20 |-backwar|d #[nil |
|00002550| 22 c0 09 c2 c3 23 c2 3d | 85 0e 00 c4 c5 09 5c 22 |"....#.=|......\"|
|00002560| 87 22 20 5b 73 65 61 72 | 63 68 2d 62 61 63 6b 77 |." [sear|ch-backw|
|00002570| 61 72 64 20 73 65 61 72 | 63 68 2d 6c 61 73 74 2d |ard sear|ch-last-|
|00002580| 73 74 72 69 6e 67 20 6e | 69 6c 20 74 20 65 72 72 |string n|il t err|
|00002590| 6f 72 20 22 53 65 61 72 | 63 68 20 66 61 69 6c 65 |or "Sear|ch faile|
|000025a0| 64 3a 20 5c 22 25 73 5c | 22 2e 22 5d 20 34 20 28 |d: \"%s\|"."] 4 (|
|000025b0| 23 24 20 2e 20 39 34 35 | 35 29 20 6e 69 6c 5d 29 |#$ . 945|5) nil])|
|000025c0| 0a 23 40 35 36 20 46 69 | 6e 64 20 6e 65 78 74 20 |.#@56 Fi|nd next |
|000025d0| 6f 63 63 75 72 72 65 6e | 63 65 20 6f 66 20 61 20 |occurren|ce of a |
|000025e0| 73 74 72 69 6e 67 20 69 | 6e 20 63 75 72 72 65 6e |string i|n curren|
|000025f0| 74 20 64 69 72 65 63 74 | 69 6f 6e 2e 1f 0a 28 64 |t direct|ion...(d|
|00002600| 65 66 61 6c 69 61 73 20 | 27 65 64 74 2d 66 69 6e |efalias |'edt-fin|
|00002610| 64 2d 6e 65 78 74 20 23 | 5b 6e 69 6c 20 22 08 09 |d-next #|[nil "..|
|00002620| 9a 83 09 00 c2 20 87 c3 | 20 87 22 20 5b 65 64 74 |..... ..| ." [edt|
|00002630| 2d 64 69 72 65 63 74 69 | 6f 6e 2d 73 74 72 69 6e |-directi|on-strin|
|00002640| 67 20 65 64 74 2d 66 6f | 72 77 61 72 64 2d 73 74 |g edt-fo|rward-st|
|00002650| 72 69 6e 67 20 65 64 74 | 2d 66 69 6e 64 2d 6e 65 |ring edt|-find-ne|
|00002660| 78 74 2d 66 6f 72 77 61 | 72 64 20 65 64 74 2d 66 |xt-forwa|rd edt-f|
|00002670| 69 6e 64 2d 6e 65 78 74 | 2d 62 61 63 6b 77 61 72 |ind-next|-backwar|
|00002680| 64 5d 20 32 20 28 23 24 | 20 2e 20 39 36 37 30 29 |d] 2 (#$| . 9670)|
|00002690| 20 6e 69 6c 5d 29 0a 23 | 40 34 38 20 41 70 70 65 | nil]).#|@48 Appe|
|000026a0| 6e 64 20 74 68 69 73 20 | 6b 69 6c 6c 20 72 65 67 |nd this |kill reg|
|000026b0| 69 6f 6e 20 74 6f 20 6c | 61 73 74 20 6b 69 6c 6c |ion to l|ast kill|
|000026c0| 65 64 20 72 65 67 69 6f | 6e 2e 1f 0a 28 64 65 66 |ed regio|n...(def|
|000026d0| 61 6c 69 61 73 20 27 65 | 64 74 2d 61 70 70 65 6e |alias 'e|dt-appen|
|000026e0| 64 20 23 5b 6e 69 6c 20 | 22 c0 20 88 c1 20 88 c2 |d #[nil |". .. ..|
|000026f0| c3 20 60 5c 22 88 c4 c5 | 21 87 22 20 5b 65 64 74 |. `\"...|!." [edt|
|00002700| 2d 63 68 65 63 6b 2d 73 | 65 6c 65 63 74 69 6f 6e |-check-s|election|
|00002710| 20 61 70 70 65 6e 64 2d | 6e 65 78 74 2d 6b 69 6c | append-|next-kil|
|00002720| 6c 20 6b 69 6c 6c 2d 72 | 65 67 69 6f 6e 20 6d 61 |l kill-r|egion ma|
|00002730| 72 6b 20 6d 65 73 73 61 | 67 65 20 22 53 65 6c 65 |rk messa|ge "Sele|
|00002740| 63 74 65 64 20 74 65 78 | 74 20 41 50 50 45 4e 44 |cted tex|t APPEND|
|00002750| 45 44 20 74 6f 20 6b 69 | 6c 6c 20 72 69 6e 67 22 |ED to ki|ll ring"|
|00002760| 5d 20 33 20 28 23 24 20 | 2e 20 39 38 38 34 29 20 |] 3 (#$ |. 9884) |
|00002770| 22 2a 22 5d 29 0a 23 40 | 31 33 32 20 44 65 6c 65 |"*"]).#@|132 Dele|
|00002780| 74 65 20 66 72 6f 6d 20 | 63 75 72 73 6f 72 20 75 |te from |cursor u|
|00002790| 70 20 74 6f 20 61 6e 64 | 20 69 6e 63 6c 75 64 69 |p to and| includi|
|000027a0| 6e 67 20 74 68 65 20 65 | 6e 64 20 6f 66 20 6c 69 |ng the e|nd of li|
|000027b0| 6e 65 20 6d 61 72 6b 2e | 0a 41 63 63 65 70 74 73 |ne mark.|.Accepts|
|000027c0| 20 61 20 70 6f 73 69 74 | 69 76 65 20 70 72 65 66 | a posit|ive pref|
|000027d0| 69 78 20 61 72 67 75 6d | 65 6e 74 20 66 6f 72 20 |ix argum|ent for |
|000027e0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |the numb|er of li|
|000027f0| 6e 65 73 20 74 6f 20 64 | 65 6c 65 74 65 2e 1f 0a |nes to d|elete...|
|00002800| 28 64 65 66 61 6c 69 61 | 73 20 27 65 64 74 2d 64 |(defalia|s 'edt-d|
|00002810| 65 6c 65 74 65 2d 6c 69 | 6e 65 20 23 5b 28 6e 75 |elete-li|ne #[(nu|
|00002820| 6d 29 20 22 c0 09 21 88 | 60 1a 09 79 88 68 c3 3d |m) "..!.|`..y.h.=|
|00002830| 84 12 00 c4 63 88 5c 6e | 60 7b 15 5c 6e 60 7c 29 |....c.\n|`{.\n`|)|
|00002840| 87 22 20 5b 65 64 74 2d | 63 68 65 63 6b 2d 70 72 |." [edt-|check-pr|
|00002850| 65 66 69 78 20 6e 75 6d | 20 62 65 67 20 31 30 20 |efix num| beg 10 |
|00002860| 22 5c 6e 22 20 65 64 74 | 2d 6c 61 73 74 2d 64 65 |"\n" edt|-last-de|
|00002870| 6c 65 74 65 64 2d 6c 69 | 6e 65 73 5d 20 32 20 28 |leted-li|nes] 2 (|
|00002880| 23 24 20 2e 20 31 30 31 | 30 38 29 20 22 2a 70 22 |#$ . 101|08) "*p"|
|00002890| 5d 29 0a 23 40 31 33 32 | 20 44 65 6c 65 74 65 20 |]).#@132| Delete |
|000028a0| 66 72 6f 6d 20 63 75 72 | 73 6f 72 20 75 70 20 74 |from cur|sor up t|
|000028b0| 6f 20 62 75 74 20 65 78 | 63 6c 75 64 69 6e 67 20 |o but ex|cluding |
|000028c0| 74 68 65 20 65 6e 64 20 | 6f 66 20 6c 69 6e 65 20 |the end |of line |
|000028d0| 6d 61 72 6b 2e 0a 41 63 | 63 65 70 74 73 20 61 20 |mark..Ac|cepts a |
|000028e0| 70 6f 73 69 74 69 76 65 | 20 70 72 65 66 69 78 20 |positive| prefix |
|000028f0| 61 72 67 75 6d 65 6e 74 | 20 66 6f 72 20 74 68 65 |argument| for the|
|00002900| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|00002910| 20 74 6f 20 64 65 6c 65 | 74 65 2e 1f 0a 28 64 65 | to dele|te...(de|
|00002920| 66 61 6c 69 61 73 20 27 | 65 64 74 2d 64 65 6c 65 |falias '|edt-dele|
|00002930| 74 65 2d 74 6f 2d 65 6e | 64 2d 6f 66 2d 6c 69 6e |te-to-en|d-of-lin|
|00002940| 65 20 23 5b 28 6e 75 6d | 29 20 22 c0 09 21 88 60 |e #[(num|) "..!.`|
|00002950| 1a c3 75 88 09 7f 88 5c | 6e 60 7b 14 5c 6e 60 7c |..u....\|n`{.\n`||
|00002960| 29 87 22 20 5b 65 64 74 | 2d 63 68 65 63 6b 2d 70 |)." [edt|-check-p|
|00002970| 72 65 66 69 78 20 6e 75 | 6d 20 62 65 67 20 31 20 |refix nu|m beg 1 |
|00002980| 65 64 74 2d 6c 61 73 74 | 2d 64 65 6c 65 74 65 64 |edt-last|-deleted|
|00002990| 2d 6c 69 6e 65 73 5d 20 | 32 20 28 23 24 20 2e 20 |-lines] |2 (#$ . |
|000029a0| 31 30 33 39 33 29 20 22 | 2a 70 22 5d 29 0a 23 40 |10393) "|*p"]).#@|
|000029b0| 31 32 33 20 54 75 72 6e | 20 45 44 54 20 73 65 6c |123 Turn| EDT sel|
|000029c0| 65 63 74 20 6d 6f 64 65 | 20 6f 66 66 20 69 66 20 |ect mode| off if |
|000029d0| 41 52 47 20 69 73 20 6e | 69 6c 3b 20 6f 74 68 65 |ARG is n|il; othe|
|000029e0| 72 77 69 73 65 2c 20 74 | 75 72 6e 20 45 44 54 20 |rwise, t|urn EDT |
|000029f0| 73 65 6c 65 63 74 20 6d | 6f 64 65 20 6f 6e 2e 0a |select m|ode on..|
|00002a00| 49 6e 20 73 65 6c 65 63 | 74 20 6d 6f 64 65 2c 20 |In selec|t mode, |
|00002a10| 73 65 6c 65 63 74 65 64 | 20 74 65 78 74 20 69 73 |selected| text is|
|00002a20| 20 68 69 67 68 6c 69 67 | 68 74 65 64 2e 1f 0a 28 | highlig|hted...(|
|00002a30| 64 65 66 61 6c 69 61 73 | 20 27 65 64 74 2d 73 65 |defalias| 'edt-se|
|00002a40| 6c 65 63 74 2d 6d 6f 64 | 65 20 23 5b 28 61 72 67 |lect-mod|e #[(arg|
|00002a50| 29 20 22 08 83 10 00 c1 | c2 21 88 c3 12 c4 20 15 |) ".....|.!.... .|
|00002a60| 82 14 00 c6 c2 21 88 c7 | 20 87 22 20 5b 61 72 67 |.....!..| ." [arg|
|00002a70| 20 6d 61 6b 65 2d 6c 6f | 63 61 6c 2d 76 61 72 69 | make-lo|cal-vari|
|00002a80| 61 62 6c 65 20 65 64 74 | 2d 73 65 6c 65 63 74 2d |able edt|-select-|
|00002a90| 6d 6f 64 65 20 65 64 74 | 2d 73 65 6c 65 63 74 2d |mode edt|-select-|
|00002aa0| 6d 6f 64 65 2d 74 65 78 | 74 20 77 69 6e 64 6f 77 |mode-tex|t window|
|00002ab0| 2d 70 6f 69 6e 74 20 72 | 65 63 74 2d 73 74 61 72 |-point r|ect-star|
|00002ac0| 74 2d 70 6f 69 6e 74 20 | 6b 69 6c 6c 2d 6c 6f 63 |t-point |kill-loc|
|00002ad0| 61 6c 2d 76 61 72 69 61 | 62 6c 65 20 66 6f 72 63 |al-varia|ble forc|
|00002ae0| 65 2d 6d 6f 64 65 2d 6c | 69 6e 65 2d 75 70 64 61 |e-mode-l|ine-upda|
|00002af0| 74 65 5d 20 32 20 28 23 | 24 20 2e 20 31 30 36 37 |te] 2 (#|$ . 1067|
|00002b00| 36 29 5d 29 0a 23 40 34 | 36 20 53 65 74 20 6d 61 |6)]).#@4|6 Set ma|
|00002b10| 72 6b 20 61 74 20 63 75 | 72 73 6f 72 20 61 6e 64 |rk at cu|rsor and|
|00002b20| 20 73 74 61 72 74 20 74 | 65 78 74 20 73 65 6c 65 | start t|ext sele|
|00002b30| 63 74 69 6f 6e 2e 1f 0a | 28 64 65 66 61 6c 69 61 |ction...|(defalia|
|00002b40| 73 20 27 65 64 74 2d 73 | 65 6c 65 63 74 20 23 5b |s 'edt-s|elect #[|
|00002b50| 6e 69 6c 20 22 c0 c1 21 | 87 22 20 5b 73 65 74 2d |nil "..!|." [set-|
|00002b60| 6d 61 72 6b 2d 63 6f 6d | 6d 61 6e 64 20 6e 69 6c |mark-com|mand nil|
|00002b70| 5d 20 32 20 28 23 24 20 | 2e 20 31 31 30 31 38 29 |] 2 (#$ |. 11018)|
|00002b80| 20 6e 69 6c 5d 29 0a 23 | 40 32 34 20 43 61 6e 63 | nil]).#|@24 Canc|
|00002b90| 65 6c 20 74 65 78 74 20 | 73 65 6c 65 63 74 69 6f |el text |selectio|
|00002ba0| 6e 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 65 |n...(def|alias 'e|
|00002bb0| 64 74 2d 72 65 73 65 74 | 20 23 5b 6e 69 6c 20 22 |dt-reset| #[nil "|
|00002bc0| 08 85 09 00 c1 12 c3 c4 | 21 87 22 20 5b 74 72 61 |........|!." [tra|
|00002bd0| 6e 73 69 65 6e 74 2d 6d | 61 72 6b 2d 6d 6f 64 65 |nsient-m|ark-mode|
|00002be0| 20 6e 69 6c 20 6d 61 72 | 6b 2d 61 63 74 69 76 65 | nil mar|k-active|
|00002bf0| 20 72 75 6e 2d 68 6f 6f | 6b 73 20 64 65 61 63 74 | run-hoo|ks deact|
|00002c00| 69 76 61 74 65 2d 6d 61 | 72 6b 2d 68 6f 6f 6b 5d |ivate-ma|rk-hook]|
|00002c10| 20 32 20 28 23 24 20 2e | 20 31 31 31 34 38 29 20 | 2 (#$ .| 11148) |
|00002c20| 6e 69 6c 5d 29 0a 23 40 | 34 38 20 44 65 6c 65 74 |nil]).#@|48 Delet|
|00002c30| 65 73 20 73 65 6c 65 63 | 74 65 64 20 74 65 78 74 |es selec|ted text|
|00002c40| 20 62 75 74 20 63 6f 70 | 69 65 73 20 74 6f 20 6b | but cop|ies to k|
|00002c50| 69 6c 6c 20 72 69 6e 67 | 2e 1f 0a 28 64 65 66 61 |ill ring|...(defa|
|00002c60| 6c 69 61 73 20 27 65 64 | 74 2d 63 75 74 20 23 5b |lias 'ed|t-cut #[|
|00002c70| 6e 69 6c 20 22 c0 20 88 | c1 c2 20 60 5c 22 88 c3 |nil ". .|.. `\"..|
|00002c80| c4 21 87 22 20 5b 65 64 | 74 2d 63 68 65 63 6b 2d |.!." [ed|t-check-|
|00002c90| 73 65 6c 65 63 74 69 6f | 6e 20 6b 69 6c 6c 2d 72 |selectio|n kill-r|
|00002ca0| 65 67 69 6f 6e 20 6d 61 | 72 6b 20 6d 65 73 73 61 |egion ma|rk messa|
|00002cb0| 67 65 20 22 53 65 6c 65 | 63 74 65 64 20 74 65 78 |ge "Sele|cted tex|
|00002cc0| 74 20 43 55 54 20 74 6f | 20 6b 69 6c 6c 20 72 69 |t CUT to| kill ri|
|00002cd0| 6e 67 22 5d 20 33 20 28 | 23 24 20 2e 20 31 31 33 |ng"] 3 (|#$ . 113|
|00002ce0| 30 37 29 20 22 2a 22 5d | 29 0a 23 40 31 31 32 20 |07) "*"]|).#@112 |
|00002cf0| 44 65 6c 65 74 65 20 66 | 72 6f 6d 20 63 75 72 73 |Delete f|rom curs|
|00002d00| 6f 72 20 74 6f 20 62 65 | 67 69 6e 6e 69 6e 67 20 |or to be|ginning |
|00002d10| 6f 66 20 6c 69 6e 65 2e | 0a 41 63 63 65 70 74 73 |of line.|.Accepts|
|00002d20| 20 61 20 70 6f 73 69 74 | 69 76 65 20 70 72 65 66 | a posit|ive pref|
|00002d30| 69 78 20 61 72 67 75 6d | 65 6e 74 20 66 6f 72 20 |ix argum|ent for |
|00002d40| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |the numb|er of li|
|00002d50| 6e 65 73 20 74 6f 20 64 | 65 6c 65 74 65 2e 1f 0a |nes to d|elete...|
|00002d60| 28 64 65 66 61 6c 69 61 | 73 20 27 65 64 74 2d 64 |(defalia|s 'edt-d|
|00002d70| 65 6c 65 74 65 2d 74 6f | 2d 62 65 67 69 6e 6e 69 |elete-to|-beginni|
|00002d80| 6e 67 2d 6f 66 2d 6c 69 | 6e 65 20 23 5b 28 6e 75 |ng-of-li|ne #[(nu|
|00002d90| 6d 29 20 22 c0 09 21 88 | 60 1a c3 09 21 88 60 5c |m) "..!.|`...!.`\|
|00002da0| 6e 7b 14 5c 6e 60 7c 29 | 87 22 20 5b 65 64 74 2d |n{.\n`|)|." [edt-|
|00002db0| 63 68 65 63 6b 2d 70 72 | 65 66 69 78 20 6e 75 6d |check-pr|efix num|
|00002dc0| 20 62 65 67 20 65 64 74 | 2d 62 65 67 69 6e 6e 69 | beg edt|-beginni|
|00002dd0| 6e 67 2d 6f 66 2d 6c 69 | 6e 65 20 65 64 74 2d 6c |ng-of-li|ne edt-l|
|00002de0| 61 73 74 2d 64 65 6c 65 | 74 65 64 2d 6c 69 6e 65 |ast-dele|ted-line|
|00002df0| 73 5d 20 32 20 28 23 24 | 20 2e 20 31 31 35 30 34 |s] 2 (#$| . 11504|
|00002e00| 29 20 22 2a 70 22 5d 29 | 0a 23 40 31 34 30 20 44 |) "*p"])|.#@140 D|
|00002e10| 65 6c 65 74 65 20 66 72 | 6f 6d 20 63 75 72 73 6f |elete fr|om curso|
|00002e20| 72 20 75 70 20 74 6f 20 | 62 75 74 20 65 78 63 6c |r up to |but excl|
|00002e30| 75 64 69 6e 67 20 66 69 | 72 73 74 20 63 68 61 72 |uding fi|rst char|
|00002e40| 61 63 74 65 72 20 6f 66 | 20 6e 65 78 74 20 77 6f |acter of| next wo|
|00002e50| 72 64 2e 0a 41 63 63 65 | 70 74 73 20 61 20 70 6f |rd..Acce|pts a po|
|00002e60| 73 69 74 69 76 65 20 70 | 72 65 66 69 78 20 61 72 |sitive p|refix ar|
|00002e70| 67 75 6d 65 6e 74 20 66 | 6f 72 20 74 68 65 20 6e |gument f|or the n|
|00002e80| 75 6d 62 65 72 20 6f 66 | 20 77 6f 72 64 73 20 74 |umber of| words t|
|00002e90| 6f 20 64 65 6c 65 74 65 | 2e 1f 0a 28 64 65 66 61 |o delete|...(defa|
|00002ea0| 6c 69 61 73 20 27 65 64 | 74 2d 64 65 6c 65 74 65 |lias 'ed|t-delete|
|00002eb0| 2d 77 6f 72 64 20 23 5b | 28 6e 75 6d 29 20 22 c0 |-word #[|(num) ".|
|00002ec0| 09 21 88 60 1a c3 09 21 | 88 5c 6e 60 7b 14 5c 6e |.!.`...!|.\n`{.\n|
|00002ed0| 60 7c 29 87 22 20 5b 65 | 64 74 2d 63 68 65 63 6b |`|)." [e|dt-check|
|00002ee0| 2d 70 72 65 66 69 78 20 | 6e 75 6d 20 62 65 67 20 |-prefix |num beg |
|00002ef0| 65 64 74 2d 77 6f 72 64 | 2d 66 6f 72 77 61 72 64 |edt-word|-forward|
|00002f00| 20 65 64 74 2d 6c 61 73 | 74 2d 64 65 6c 65 74 65 | edt-las|t-delete|
|00002f10| 64 2d 77 6f 72 64 73 5d | 20 32 20 28 23 24 20 2e |d-words]| 2 (#$ .|
|00002f20| 20 31 31 37 39 31 29 20 | 22 2a 70 22 5d 29 0a 23 | 11791) |"*p"]).#|
|00002f30| 40 31 31 32 20 44 65 6c | 65 74 65 20 66 72 6f 6d |@112 Del|ete from|
|00002f40| 20 63 75 72 73 6f 72 20 | 74 6f 20 62 65 67 69 6e | cursor |to begin|
|00002f50| 6e 69 6e 67 20 6f 66 20 | 77 6f 72 64 2e 0a 41 63 |ning of |word..Ac|
|00002f60| 63 65 70 74 73 20 61 20 | 70 6f 73 69 74 69 76 65 |cepts a |positive|
|00002f70| 20 70 72 65 66 69 78 20 | 61 72 67 75 6d 65 6e 74 | prefix |argument|
|00002f80| 20 66 6f 72 20 74 68 65 | 20 6e 75 6d 62 65 72 20 | for the| number |
|00002f90| 6f 66 20 77 6f 72 64 73 | 20 74 6f 20 64 65 6c 65 |of words| to dele|
|00002fa0| 74 65 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |te...(de|falias '|
|00002fb0| 65 64 74 2d 64 65 6c 65 | 74 65 2d 74 6f 2d 62 65 |edt-dele|te-to-be|
|00002fc0| 67 69 6e 6e 69 6e 67 2d | 6f 66 2d 77 6f 72 64 20 |ginning-|of-word |
|00002fd0| 23 5b 28 6e 75 6d 29 20 | 22 c0 09 21 88 60 1a c3 |#[(num) |"..!.`..|
|00002fe0| 09 21 88 60 5c 6e 7b 14 | 5c 6e 60 7c 29 87 22 20 |.!.`\n{.|\n`|)." |
|00002ff0| 5b 65 64 74 2d 63 68 65 | 63 6b 2d 70 72 65 66 69 |[edt-che|ck-prefi|
|00003000| 78 20 6e 75 6d 20 62 65 | 67 20 65 64 74 2d 77 6f |x num be|g edt-wo|
|00003010| 72 64 2d 62 61 63 6b 77 | 61 72 64 20 65 64 74 2d |rd-backw|ard edt-|
|00003020| 6c 61 73 74 2d 64 65 6c | 65 74 65 64 2d 77 6f 72 |last-del|eted-wor|
|00003030| 64 73 5d 20 32 20 28 23 | 24 20 2e 20 31 32 30 38 |ds] 2 (#|$ . 1208|
|00003040| 35 29 20 22 2a 70 22 5d | 29 0a 23 40 31 30 37 20 |5) "*p"]|).#@107 |
|00003050| 44 65 6c 65 74 65 20 63 | 68 61 72 61 63 74 65 72 |Delete c|haracter|
|00003060| 20 75 6e 64 65 72 20 63 | 75 72 73 6f 72 2e 0a 41 | under c|ursor..A|
|00003070| 63 63 65 70 74 73 20 61 | 20 70 6f 73 69 74 69 76 |ccepts a| positiv|
|00003080| 65 20 70 72 65 66 69 78 | 20 61 72 67 75 6d 65 6e |e prefix| argumen|
|00003090| 74 20 66 6f 72 20 74 68 | 65 20 6e 75 6d 62 65 72 |t for th|e number|
|000030a0| 20 6f 66 20 63 68 61 72 | 61 63 74 65 72 73 20 74 | of char|acters t|
|000030b0| 6f 20 64 65 6c 65 74 65 | 2e 1f 0a 28 64 65 66 61 |o delete|...(defa|
|000030c0| 6c 69 61 73 20 27 65 64 | 74 2d 64 65 6c 65 74 65 |lias 'ed|t-delete|
|000030d0| 2d 63 68 61 72 61 63 74 | 65 72 20 23 5b 28 6e 75 |-charact|er #[(nu|
|000030e0| 6d 29 20 22 c0 09 21 88 | 60 64 60 09 5c 5c 5e 7b |m) "..!.|`d`.\\^{|
|000030f0| 12 60 64 60 09 5c 5c 5e | 7c 87 22 20 5b 65 64 74 |.`d`.\\^||." [edt|
|00003100| 2d 63 68 65 63 6b 2d 70 | 72 65 66 69 78 20 6e 75 |-check-p|refix nu|
|00003110| 6d 20 65 64 74 2d 6c 61 | 73 74 2d 64 65 6c 65 74 |m edt-la|st-delet|
|00003120| 65 64 2d 63 68 61 72 73 | 5d 20 34 20 28 23 24 20 |ed-chars|] 4 (#$ |
|00003130| 2e 20 31 32 33 36 38 29 | 20 22 2a 70 22 5d 29 0a |. 12368)| "*p"]).|
|00003140| 23 40 31 31 33 20 44 65 | 6c 65 74 65 20 63 68 61 |#@113 De|lete cha|
|00003150| 72 61 63 74 65 72 20 69 | 6e 20 66 72 6f 6e 74 20 |racter i|n front |
|00003160| 6f 66 20 63 75 72 73 6f | 72 2e 0a 41 63 63 65 70 |of curso|r..Accep|
|00003170| 74 73 20 61 20 70 6f 73 | 69 74 69 76 65 20 70 72 |ts a pos|itive pr|
|00003180| 65 66 69 78 20 61 72 67 | 75 6d 65 6e 74 20 66 6f |efix arg|ument fo|
|00003190| 72 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |r the nu|mber of |
|000031a0| 63 68 61 72 61 63 74 65 | 72 73 20 74 6f 20 64 65 |characte|rs to de|
|000031b0| 6c 65 74 65 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |lete...(|defalias|
|000031c0| 20 27 65 64 74 2d 64 65 | 6c 65 74 65 2d 70 72 65 | 'edt-de|lete-pre|
|000031d0| 76 69 6f 75 73 2d 63 68 | 61 72 61 63 74 65 72 20 |vious-ch|aracter |
|000031e0| 23 5b 28 6e 75 6d 29 20 | 22 c0 09 21 88 65 60 09 |#[(num) |"..!.e`.|
|000031f0| 5a 5d 60 7b 12 65 60 09 | 5a 5d 60 7c 87 22 20 5b |Z]`{.e`.|Z]`|." [|
|00003200| 65 64 74 2d 63 68 65 63 | 6b 2d 70 72 65 66 69 78 |edt-chec|k-prefix|
|00003210| 20 6e 75 6d 20 65 64 74 | 2d 6c 61 73 74 2d 64 65 | num edt|-last-de|
|00003220| 6c 65 74 65 64 2d 63 68 | 61 72 73 5d 20 33 20 28 |leted-ch|ars] 3 (|
|00003230| 23 24 20 2e 20 31 32 36 | 31 34 29 20 22 2a 70 22 |#$ . 126|14) "*p"|
|00003240| 5d 29 0a 23 40 33 36 20 | 55 6e 64 65 6c 65 74 65 |]).#@36 |Undelete|
|00003250| 20 70 72 65 76 69 6f 75 | 73 20 64 65 6c 65 74 65 | previou|s delete|
|00003260| 64 20 6c 69 6e 65 28 73 | 29 2e 1f 0a 28 64 65 66 |d line(s|)...(def|
|00003270| 61 6c 69 61 73 20 27 65 | 64 74 2d 75 6e 64 65 6c |alias 'e|dt-undel|
|00003280| 65 74 65 2d 6c 69 6e 65 | 20 23 5b 6e 69 6c 20 22 |ete-line| #[nil "|
|00003290| c0 c1 21 88 5c 6e 63 88 | c3 c1 21 87 22 20 5b 70 |..!.\nc.|..!." [p|
|000032a0| 6f 69 6e 74 2d 74 6f 2d | 72 65 67 69 73 74 65 72 |oint-to-|register|
|000032b0| 20 31 20 65 64 74 2d 6c | 61 73 74 2d 64 65 6c 65 | 1 edt-l|ast-dele|
|000032c0| 74 65 64 2d 6c 69 6e 65 | 73 20 72 65 67 69 73 74 |ted-line|s regist|
|000032d0| 65 72 2d 74 6f 2d 70 6f | 69 6e 74 5d 20 32 20 28 |er-to-po|int] 2 (|
|000032e0| 23 24 20 2e 20 31 32 38 | 37 32 29 20 22 2a 22 5d |#$ . 128|72) "*"]|
|000032f0| 29 0a 23 40 33 36 20 55 | 6e 64 65 6c 65 74 65 20 |).#@36 U|ndelete |
|00003300| 70 72 65 76 69 6f 75 73 | 20 64 65 6c 65 74 65 64 |previous| deleted|
|00003310| 20 77 6f 72 64 28 73 29 | 2e 1f 0a 28 64 65 66 61 | word(s)|...(defa|
|00003320| 6c 69 61 73 20 27 65 64 | 74 2d 75 6e 64 65 6c 65 |lias 'ed|t-undele|
|00003330| 74 65 2d 77 6f 72 64 20 | 23 5b 6e 69 6c 20 22 c0 |te-word |#[nil ".|
|00003340| c1 21 88 5c 6e 63 88 c3 | c1 21 87 22 20 5b 70 6f |.!.\nc..|.!." [po|
|00003350| 69 6e 74 2d 74 6f 2d 72 | 65 67 69 73 74 65 72 20 |int-to-r|egister |
|00003360| 31 20 65 64 74 2d 6c 61 | 73 74 2d 64 65 6c 65 74 |1 edt-la|st-delet|
|00003370| 65 64 2d 77 6f 72 64 73 | 20 72 65 67 69 73 74 65 |ed-words| registe|
|00003380| 72 2d 74 6f 2d 70 6f 69 | 6e 74 5d 20 32 20 28 23 |r-to-poi|nt] 2 (#|
|00003390| 24 20 2e 20 31 33 30 34 | 37 29 20 22 2a 22 5d 29 |$ . 1304|7) "*"])|
|000033a0| 0a 23 40 34 31 20 55 6e | 64 65 6c 65 74 65 20 70 |.#@41 Un|delete p|
|000033b0| 72 65 76 69 6f 75 73 20 | 64 65 6c 65 74 65 64 20 |revious |deleted |
|000033c0| 63 68 61 72 61 63 74 65 | 72 28 73 29 2e 1f 0a 28 |characte|r(s)...(|
|000033d0| 64 65 66 61 6c 69 61 73 | 20 27 65 64 74 2d 75 6e |defalias| 'edt-un|
|000033e0| 64 65 6c 65 74 65 2d 63 | 68 61 72 61 63 74 65 72 |delete-c|haracter|
|000033f0| 20 23 5b 6e 69 6c 20 22 | c0 c1 21 88 5c 6e 63 88 | #[nil "|..!.\nc.|
|00003400| c3 c1 21 87 22 20 5b 70 | 6f 69 6e 74 2d 74 6f 2d |..!." [p|oint-to-|
|00003410| 72 65 67 69 73 74 65 72 | 20 31 20 65 64 74 2d 6c |register| 1 edt-l|
|00003420| 61 73 74 2d 64 65 6c 65 | 74 65 64 2d 63 68 61 72 |ast-dele|ted-char|
|00003430| 73 20 72 65 67 69 73 74 | 65 72 2d 74 6f 2d 70 6f |s regist|er-to-po|
|00003440| 69 6e 74 5d 20 32 20 28 | 23 24 20 2e 20 31 33 32 |int] 2 (|#$ . 132|
|00003450| 32 32 29 20 22 2a 22 5d | 29 0a 23 40 35 33 20 52 |22) "*"]|).#@53 R|
|00003460| 65 70 6c 61 63 65 20 6d | 61 72 6b 65 64 20 73 65 |eplace m|arked se|
|00003470| 63 74 69 6f 6e 20 77 69 | 74 68 20 6c 61 73 74 20 |ction wi|th last |
|00003480| 43 55 54 20 28 6b 69 6c | 6c 65 64 29 20 74 65 78 |CUT (kil|led) tex|
|00003490| 74 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 65 |t...(def|alias 'e|
|000034a0| 64 74 2d 72 65 70 6c 61 | 63 65 20 23 5b 6e 69 6c |dt-repla|ce #[nil|
|000034b0| 20 22 c0 20 88 60 19 c0 | 20 88 09 60 7c 88 29 c2 | ". .`..| ..`|.).|
|000034c0| 20 87 22 20 5b 65 78 63 | 68 61 6e 67 65 2d 70 6f | ." [exc|hange-po|
|000034d0| 69 6e 74 2d 61 6e 64 2d | 6d 61 72 6b 20 62 65 67 |int-and-|mark beg|
|000034e0| 20 79 61 6e 6b 5d 20 32 | 20 28 23 24 20 2e 20 31 | yank] 2| (#$ . 1|
|000034f0| 33 34 30 37 29 20 22 2a | 22 5d 29 0a 23 40 38 33 |3407) "*|"]).#@83|
|00003500| 20 53 65 74 20 6d 6f 76 | 65 6d 65 6e 74 20 64 69 | Set mov|ement di|
|00003510| 72 65 63 74 69 6f 6e 20 | 66 6f 72 77 61 72 64 2e |rection |forward.|
|00003520| 0a 41 6c 73 6f 2c 20 65 | 78 65 63 75 74 65 20 63 |.Also, e|xecute c|
|00003530| 6f 6d 6d 61 6e 64 20 73 | 70 65 63 69 66 69 65 64 |ommand s|pecified|
|00003540| 20 69 66 20 69 6e 20 4d | 69 6e 69 62 75 66 66 65 | if in M|inibuffe|
|00003550| 72 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 65 |r...(def|alias 'e|
|00003560| 64 74 2d 61 64 76 61 6e | 63 65 20 23 5b 6e 69 6c |dt-advan|ce #[nil|
|00003570| 20 22 08 11 c2 20 88 c3 | 20 c4 c3 20 47 c5 5e 4f | "... ..| .. G.^O|
|00003580| c6 98 85 15 00 c7 20 87 | 22 20 5b 65 64 74 2d 66 |...... .|" [edt-f|
|00003590| 6f 72 77 61 72 64 2d 73 | 74 72 69 6e 67 20 65 64 |orward-s|tring ed|
|000035a0| 74 2d 64 69 72 65 63 74 | 69 6f 6e 2d 73 74 72 69 |t-direct|ion-stri|
|000035b0| 6e 67 20 66 6f 72 63 65 | 2d 6d 6f 64 65 2d 6c 69 |ng force|-mode-li|
|000035c0| 6e 65 2d 75 70 64 61 74 | 65 20 62 75 66 66 65 72 |ne-updat|e buffer|
|000035d0| 2d 6e 61 6d 65 20 30 20 | 39 20 22 20 2a 4d 69 6e |-name 0 |9 " *Min|
|000035e0| 69 62 75 66 22 20 65 78 | 69 74 2d 6d 69 6e 69 62 |ibuf" ex|it-minib|
|000035f0| 75 66 66 65 72 5d 20 34 | 20 28 23 24 20 2e 20 31 |uffer] 4| (#$ . 1|
|00003600| 33 35 36 39 29 20 6e 69 | 6c 5d 29 0a 23 40 38 34 |3569) ni|l]).#@84|
|00003610| 20 53 65 74 20 6d 6f 76 | 65 6d 65 6e 74 20 64 69 | Set mov|ement di|
|00003620| 72 65 63 74 69 6f 6e 20 | 62 61 63 6b 77 61 72 64 |rection |backward|
|00003630| 2e 0a 41 6c 73 6f 2c 20 | 65 78 65 63 75 74 65 20 |..Also, |execute |
|00003640| 63 6f 6d 6d 61 6e 64 20 | 73 70 65 63 69 66 69 65 |command |specifie|
|00003650| 64 20 69 66 20 69 6e 20 | 4d 69 6e 69 62 75 66 66 |d if in |Minibuff|
|00003660| 65 72 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |er...(de|falias '|
|00003670| 65 64 74 2d 62 61 63 6b | 75 70 20 23 5b 6e 69 6c |edt-back|up #[nil|
|00003680| 20 22 08 11 c2 20 88 c3 | 20 c4 c3 20 47 c5 5e 4f | "... ..| .. G.^O|
|00003690| c6 98 85 15 00 c7 20 87 | 22 20 5b 65 64 74 2d 62 |...... .|" [edt-b|
|000036a0| 61 63 6b 77 61 72 64 2d | 73 74 72 69 6e 67 20 65 |ackward-|string e|
|000036b0| 64 74 2d 64 69 72 65 63 | 74 69 6f 6e 2d 73 74 72 |dt-direc|tion-str|
|000036c0| 69 6e 67 20 66 6f 72 63 | 65 2d 6d 6f 64 65 2d 6c |ing forc|e-mode-l|
|000036d0| 69 6e 65 2d 75 70 64 61 | 74 65 20 62 75 66 66 65 |ine-upda|te buffe|
|000036e0| 72 2d 6e 61 6d 65 20 30 | 20 39 20 22 20 2a 4d 69 |r-name 0| 9 " *Mi|
|000036f0| 6e 69 62 75 66 22 20 65 | 78 69 74 2d 6d 69 6e 69 |nibuf" e|xit-mini|
|00003700| 62 75 66 66 65 72 5d 20 | 34 20 28 23 24 20 2e 20 |buffer] |4 (#$ . |
|00003710| 31 33 38 34 31 29 20 6e | 69 6c 5d 29 0a 23 40 35 |13841) n|il]).#@5|
|00003720| 34 34 20 43 68 61 6e 67 | 65 20 74 68 65 20 63 61 |44 Chang|e the ca|
|00003730| 73 65 20 6f 66 20 73 70 | 65 63 69 66 69 65 64 20 |se of sp|ecified |
|00003740| 63 68 61 72 61 63 74 65 | 72 73 2e 0a 49 66 20 74 |characte|rs..If t|
|00003750| 65 78 74 20 73 65 6c 65 | 63 74 69 6f 6e 20 49 53 |ext sele|ction IS|
|00003760| 20 61 63 74 69 76 65 2c | 20 74 68 65 6e 20 63 68 | active,| then ch|
|00003770| 61 72 61 63 74 65 72 73 | 20 62 65 74 77 65 65 6e |aracters| between|
|00003780| 20 74 68 65 20 63 75 72 | 73 6f 72 20 61 6e 64 20 | the cur|sor and |
|00003790| 6d 61 72 6b 20 61 72 65 | 0a 63 68 61 6e 67 65 64 |mark are|.changed|
|000037a0| 2e 20 20 49 66 20 74 65 | 78 74 20 73 65 6c 65 63 |. If te|xt selec|
|000037b0| 74 69 6f 6e 20 69 73 20 | 4e 4f 54 20 61 63 74 69 |tion is |NOT acti|
|000037c0| 76 65 2c 20 74 68 65 72 | 65 20 61 72 65 20 74 77 |ve, ther|e are tw|
|000037d0| 6f 20 63 61 73 65 73 2e | 20 20 46 69 72 73 74 2c |o cases.| First,|
|000037e0| 20 69 66 20 74 68 65 0a | 63 75 72 72 65 6e 74 20 | if the.|current |
|000037f0| 64 69 72 65 63 74 69 6f | 6e 20 69 73 20 41 44 56 |directio|n is ADV|
|00003800| 41 4e 43 45 2c 20 74 68 | 65 6e 20 74 68 65 20 70 |ANCE, th|en the p|
|00003810| 72 65 66 69 78 20 6e 75 | 6d 62 65 72 20 6f 66 20 |refix nu|mber of |
|00003820| 63 68 61 72 61 63 74 65 | 72 28 73 29 20 75 6e 64 |characte|r(s) und|
|00003830| 65 72 20 61 6e 64 0a 66 | 6f 6c 6c 6f 77 69 6e 67 |er and.f|ollowing|
|00003840| 20 63 75 72 73 6f 72 20 | 61 72 65 20 63 68 61 6e | cursor |are chan|
|00003850| 67 65 64 2e 20 20 53 65 | 63 6f 6e 64 2c 20 69 66 |ged. Se|cond, if|
|00003860| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 64 69 72 | the cur|rent dir|
|00003870| 65 63 74 69 6f 6e 20 69 | 73 20 42 41 43 4b 55 50 |ection i|s BACKUP|
|00003880| 2c 20 74 68 65 6e 0a 74 | 68 65 20 70 72 65 66 69 |, then.t|he prefi|
|00003890| 78 20 6e 75 6d 62 65 72 | 20 6f 66 20 63 68 61 72 |x number| of char|
|000038a0| 61 63 74 65 72 28 73 29 | 20 62 65 66 6f 72 65 20 |acter(s)| before |
|000038b0| 74 68 65 20 63 75 72 73 | 6f 72 20 61 72 65 20 63 |the curs|or are c|
|000038c0| 68 61 6e 67 65 64 2e 20 | 20 41 63 63 65 70 74 73 |hanged. | Accepts|
|000038d0| 20 61 0a 70 6f 73 69 74 | 69 76 65 20 70 72 65 66 | a.posit|ive pref|
|000038e0| 69 78 20 66 6f 72 20 74 | 68 65 20 6e 75 6d 62 65 |ix for t|he numbe|
|000038f0| 72 20 6f 66 20 63 68 61 | 72 61 63 74 65 72 73 20 |r of cha|racters |
|00003900| 74 6f 20 63 68 61 6e 67 | 65 2c 20 62 75 74 20 74 |to chang|e, but t|
|00003910| 68 65 20 70 72 65 66 69 | 78 20 69 73 0a 69 67 6e |he prefi|x is.ign|
|00003920| 6f 72 65 64 20 69 66 20 | 74 65 78 74 20 73 65 6c |ored if |text sel|
|00003930| 65 63 74 69 6f 6e 20 69 | 73 20 61 63 74 69 76 65 |ection i|s active|
|00003940| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 65 64 |...(defa|lias 'ed|
|00003950| 74 2d 63 68 61 6e 67 65 | 2d 63 61 73 65 20 23 5b |t-change|-case #[|
|00003960| 28 6e 75 6d 29 20 22 c0 | 09 21 88 5c 6e 83 35 00 |(num) ".|.!.\n.5.|
|00003970| c3 20 60 5d 60 1c 1d 60 | c3 20 5e 62 88 60 0d 3d |. `]`..`|. ^b.`.=|
|00003980| 84 31 00 c6 67 58 83 25 | 00 c7 82 26 00 c8 60 60 |.1..gX.%|...&..``|
|00003990| 54 5c 22 88 c9 75 88 82 | 15 00 5c 66 62 2a 87 0e |T\"..u..|..\fb*..|
|000039a0| 5c 6e 0e 0b 98 83 41 00 | cc 09 21 88 09 cd 56 85 |\n....A.|..!...V.|
|000039b0| 61 00 c6 67 58 83 51 00 | c7 82 52 00 c8 60 60 54 |a..gX.Q.|..R..``T|
|000039c0| 5c 22 88 c9 75 88 09 53 | 89 11 82 42 00 87 22 20 |\"..u..S|...B.." |
|000039d0| 5b 65 64 74 2d 63 68 65 | 63 6b 2d 70 72 65 66 69 |[edt-che|ck-prefi|
|000039e0| 78 20 6e 75 6d 20 65 64 | 74 2d 73 65 6c 65 63 74 |x num ed|t-select|
|000039f0| 2d 6d 6f 64 65 20 6d 61 | 72 6b 20 70 6f 69 6e 74 |-mode ma|rk point|
|00003a00| 2d 73 61 76 65 20 65 6e | 64 20 39 37 20 75 70 63 |-save en|d 97 upc|
|00003a10| 61 73 65 2d 72 65 67 69 | 6f 6e 20 64 6f 77 6e 63 |ase-regi|on downc|
|00003a20| 61 73 65 2d 72 65 67 69 | 6f 6e 20 31 20 65 64 74 |ase-regi|on 1 edt|
|00003a30| 2d 64 69 72 65 63 74 69 | 6f 6e 2d 73 74 72 69 6e |-directi|on-strin|
|00003a40| 67 20 65 64 74 2d 62 61 | 63 6b 77 61 72 64 2d 73 |g edt-ba|ckward-s|
|00003a50| 74 72 69 6e 67 20 62 61 | 63 6b 77 61 72 64 2d 63 |tring ba|ckward-c|
|00003a60| 68 61 72 20 30 5d 20 34 | 20 28 23 24 20 2e 20 31 |har 0] 4| (#$ . 1|
|00003a70| 34 31 31 35 29 20 22 2a | 70 22 5d 29 0a 23 40 32 |4115) "*|p"]).#@2|
|00003a80| 30 36 20 41 73 73 69 67 | 6e 20 61 6e 20 69 6e 74 |06 Assig|n an int|
|00003a90| 65 72 61 63 74 69 76 65 | 6c 79 2d 63 61 6c 6c 61 |eractive|ly-calla|
|00003aa0| 62 6c 65 20 66 75 6e 63 | 74 69 6f 6e 20 74 6f 20 |ble func|tion to |
|00003ab0| 61 20 73 70 65 63 69 66 | 69 65 64 20 6b 65 79 20 |a specif|ied key |
|00003ac0| 73 65 71 75 65 6e 63 65 | 2e 0a 54 68 65 20 63 75 |sequence|..The cu|
|00003ad0| 72 72 65 6e 74 20 6b 65 | 79 20 64 65 66 69 6e 69 |rrent ke|y defini|
|00003ae0| 74 69 6f 6e 20 69 73 20 | 73 61 76 65 64 20 69 6e |tion is |saved in|
|00003af0| 20 65 64 74 2d 6c 61 73 | 74 2d 72 65 70 6c 61 63 | edt-las|t-replac|
|00003b00| 65 64 2d 6b 65 79 2d 64 | 65 66 69 6e 69 74 69 6f |ed-key-d|efinitio|
|00003b10| 6e 2e 0a 55 73 65 20 65 | 64 74 2d 72 65 73 74 6f |n..Use e|dt-resto|
|00003b20| 72 65 2d 6b 65 79 20 74 | 6f 20 72 65 73 74 6f 72 |re-key t|o restor|
|00003b30| 65 20 6c 61 73 74 20 72 | 65 70 6c 61 63 65 64 20 |e last r|eplaced |
|00003b40| 6b 65 79 20 64 65 66 69 | 6e 69 74 69 6f 6e 2e 1f |key defi|nition..|
|00003b50| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 65 64 74 2d |.(defali|as 'edt-|
|00003b60| 64 65 66 69 6e 65 2d 6b | 65 79 20 23 5b 6e 69 6c |define-k|ey #[nil|
|00003b70| 20 22 c0 89 19 1a c3 c4 | 21 89 11 c5 98 83 14 00 | "......|!.......|
|00003b80| c6 c7 21 82 31 00 c8 c9 | 21 89 12 ca 98 83 24 00 |..!.1...|!.....$.|
|00003b90| c6 c7 21 82 31 00 cb cc | 20 09 5c 22 16 0d ce cc |..!.1...| .\"....|
|00003ba0| 20 09 5c 6e 23 2a 87 22 | 20 5b 6e 69 6c 20 65 64 | .\n#*."| [nil ed|
|00003bb0| 74 2d 6b 65 79 2d 64 65 | 66 69 6e 69 74 69 6f 6e |t-key-de|finition|
|00003bc0| 2d 73 74 72 69 6e 67 20 | 65 64 74 2d 66 75 6e 63 |-string |edt-func|
|00003bd0| 74 69 6f 6e 20 72 65 61 | 64 2d 6b 65 79 2d 73 65 |tion rea|d-key-se|
|00003be0| 71 75 65 6e 63 65 20 22 | 50 72 65 73 73 20 74 68 |quence "|Press th|
|00003bf0| 65 20 6b 65 79 20 74 6f | 20 62 65 20 64 65 66 69 |e key to| be defi|
|00003c00| 6e 65 64 3a 20 22 20 22 | 0d 22 20 6d 65 73 73 61 |ned: " "|." messa|
|00003c10| 67 65 20 22 4b 65 79 20 | 6e 6f 74 20 64 65 66 69 |ge "Key |not defi|
|00003c20| 6e 65 64 22 20 72 65 61 | 64 2d 63 6f 6d 6d 61 6e |ned" rea|d-comman|
|00003c30| 64 20 22 45 6e 74 65 72 | 20 63 6f 6d 6d 61 6e 64 |d "Enter| command|
|00003c40| 20 6e 61 6d 65 3a 20 22 | 20 22 22 20 6c 6f 6f 6b | name: "| "" look|
|00003c50| 75 70 2d 6b 65 79 20 63 | 75 72 72 65 6e 74 2d 67 |up-key c|urrent-g|
|00003c60| 6c 6f 62 61 6c 2d 6d 61 | 70 20 65 64 74 2d 6c 61 |lobal-ma|p edt-la|
|00003c70| 73 74 2d 72 65 70 6c 61 | 63 65 64 2d 6b 65 79 2d |st-repla|ced-key-|
|00003c80| 64 65 66 69 6e 69 74 69 | 6f 6e 20 64 65 66 69 6e |definiti|on defin|
|00003c90| 65 2d 6b 65 79 5d 20 35 | 20 28 23 24 20 2e 20 31 |e-key] 5| (#$ . 1|
|00003ca0| 34 39 37 39 29 20 6e 69 | 6c 5d 29 0a 23 40 31 32 |4979) ni|l]).#@12|
|00003cb0| 33 20 49 6e 73 65 72 74 | 20 66 6f 72 6d 20 66 65 |3 Insert| form fe|
|00003cc0| 65 64 20 63 68 61 72 61 | 63 74 65 72 20 61 74 20 |ed chara|cter at |
|00003cd0| 63 75 72 73 6f 72 20 70 | 6f 73 69 74 69 6f 6e 2e |cursor p|osition.|
|00003ce0| 0a 41 63 63 65 70 74 73 | 20 61 20 70 6f 73 69 74 |.Accepts| a posit|
|00003cf0| 69 76 65 20 70 72 65 66 | 69 78 20 61 72 67 75 6d |ive pref|ix argum|
|00003d00| 65 6e 74 20 66 6f 72 20 | 74 68 65 20 6e 75 6d 62 |ent for |the numb|
|00003d10| 65 72 20 6f 66 20 66 6f | 72 6d 20 66 65 65 64 73 |er of fo|rm feeds|
|00003d20| 20 74 6f 20 69 6e 73 65 | 72 74 2e 1f 0a 28 64 65 | to inse|rt...(de|
|00003d30| 66 61 6c 69 61 73 20 27 | 65 64 74 2d 66 6f 72 6d |falias '|edt-form|
|00003d40| 2d 66 65 65 64 2d 69 6e | 73 65 72 74 20 23 5b 28 |-feed-in|sert #[(|
|00003d50| 6e 75 6d 29 20 22 c0 09 | 21 88 09 c2 56 85 14 00 |num) "..|!...V...|
|00003d60| c3 63 88 09 53 89 11 82 | 05 00 87 22 20 5b 65 64 |.c..S...|..." [ed|
|00003d70| 74 2d 63 68 65 63 6b 2d | 70 72 65 66 69 78 20 6e |t-check-|prefix n|
|00003d80| 75 6d 20 30 20 31 32 5d | 20 33 20 28 23 24 20 2e |um 0 12]| 3 (#$ .|
|00003d90| 20 31 35 35 33 38 29 20 | 22 2a 70 22 5d 29 0a 23 | 15538) |"*p"]).#|
|00003da0| 40 31 31 31 20 49 6e 73 | 65 72 74 20 74 61 62 20 |@111 Ins|ert tab |
|00003db0| 63 68 61 72 61 63 74 65 | 72 20 61 74 20 63 75 72 |characte|r at cur|
|00003dc0| 73 6f 72 20 70 6f 73 69 | 74 69 6f 6e 2e 0a 41 63 |sor posi|tion..Ac|
|00003dd0| 63 65 70 74 73 20 61 20 | 70 6f 73 69 74 69 76 65 |cepts a |positive|
|00003de0| 20 70 72 65 66 69 78 20 | 61 72 67 75 6d 65 6e 74 | prefix |argument|
|00003df0| 20 66 6f 72 20 74 68 65 | 20 6e 75 6d 62 65 72 20 | for the| number |
|00003e00| 6f 66 20 74 61 62 73 20 | 74 6f 20 69 6e 73 65 72 |of tabs |to inser|
|00003e10| 74 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 65 |t...(def|alias 'e|
|00003e20| 64 74 2d 74 61 62 2d 69 | 6e 73 65 72 74 20 23 5b |dt-tab-i|nsert #[|
|00003e30| 28 6e 75 6d 29 20 22 c0 | 09 21 88 09 c2 56 85 14 |(num) ".|.!...V..|
|00003e40| 00 c3 63 88 09 53 89 11 | 82 05 00 87 22 20 5b 65 |..c..S..|...." [e|
|00003e50| 64 74 2d 63 68 65 63 6b | 2d 70 72 65 66 69 78 20 |dt-check|-prefix |
|00003e60| 6e 75 6d 20 30 20 39 5d | 20 33 20 28 23 24 20 2e |num 0 9]| 3 (#$ .|
|00003e70| 20 31 35 37 38 31 29 20 | 22 2a 70 22 5d 29 0a 23 | 15781) |"*p"]).#|
|00003e80| 40 34 33 20 49 6e 64 69 | 63 61 74 65 20 65 72 72 |@43 Indi|cate err|
|00003e90| 6f 72 20 69 66 20 70 72 | 65 66 69 78 20 69 73 20 |or if pr|efix is |
|00003ea0| 6e 6f 74 20 70 6f 73 69 | 74 69 76 65 2e 1f 0a 28 |not posi|tive...(|
|00003eb0| 64 65 66 61 6c 69 61 73 | 20 27 65 64 74 2d 63 68 |defalias| 'edt-ch|
|00003ec0| 65 63 6b 2d 70 72 65 66 | 69 78 20 23 5b 28 6e 75 |eck-pref|ix #[(nu|
|00003ed0| 6d 29 20 22 08 c1 58 85 | 09 00 c2 c3 21 87 22 20 |m) "..X.|....!." |
|00003ee0| 5b 6e 75 6d 20 30 20 65 | 72 72 6f 72 20 22 50 72 |[num 0 e|rror "Pr|
|00003ef0| 65 66 69 78 20 6d 75 73 | 74 20 62 65 20 70 6f 73 |efix mus|t be pos|
|00003f00| 69 74 69 76 65 22 5d 20 | 32 20 28 23 24 20 2e 20 |itive"] |2 (#$ . |
|00003f10| 31 36 30 30 34 29 5d 29 | 0a 23 40 34 38 20 49 6e |16004)])|.#@48 In|
|00003f20| 64 69 63 61 74 65 20 65 | 72 72 6f 72 20 69 66 20 |dicate e|rror if |
|00003f30| 45 44 54 20 73 65 6c 65 | 63 74 69 6f 6e 20 69 73 |EDT sele|ction is|
|00003f40| 20 6e 6f 74 20 61 63 74 | 69 76 65 2e 1f 0a 28 64 | not act|ive...(d|
|00003f50| 65 66 61 6c 69 61 73 20 | 27 65 64 74 2d 63 68 65 |efalias |'edt-che|
|00003f60| 63 6b 2d 73 65 6c 65 63 | 74 69 6f 6e 20 23 5b 6e |ck-selec|tion #[n|
|00003f70| 69 6c 20 22 08 3f 85 08 | 00 c1 c2 21 87 22 20 5b |il ".?..|...!." [|
|00003f80| 65 64 74 2d 73 65 6c 65 | 63 74 2d 6d 6f 64 65 20 |edt-sele|ct-mode |
|00003f90| 65 72 72 6f 72 20 22 53 | 65 6c 65 63 74 69 6f 6e |error "S|election|
|00003fa0| 20 4e 4f 54 20 61 63 74 | 69 76 65 22 5d 20 32 20 | NOT act|ive"] 2 |
|00003fb0| 28 23 24 20 2e 20 31 36 | 31 35 38 29 5d 29 0a 23 |(#$ . 16|158)]).#|
|00003fc0| 40 32 38 20 54 6f 67 67 | 6c 65 20 6d 6f 76 65 6d |@28 Togg|le movem|
|00003fd0| 65 6e 74 20 64 69 72 65 | 63 74 69 6f 6e 2e 1f 0a |ent dire|ction...|
|00003fe0| 28 64 65 66 61 6c 69 61 | 73 20 27 65 64 74 2d 63 |(defalia|s 'edt-c|
|00003ff0| 68 61 6e 67 65 2d 64 69 | 72 65 63 74 69 6f 6e 20 |hange-di|rection |
|00004000| 23 5b 6e 69 6c 20 22 08 | 09 9a 83 09 00 c2 20 87 |#[nil ".|...... .|
|00004010| c3 20 87 22 20 5b 65 64 | 74 2d 64 69 72 65 63 74 |. ." [ed|t-direct|
|00004020| 69 6f 6e 2d 73 74 72 69 | 6e 67 20 65 64 74 2d 66 |ion-stri|ng edt-f|
|00004030| 6f 72 77 61 72 64 2d 73 | 74 72 69 6e 67 20 65 64 |orward-s|tring ed|
|00004040| 74 2d 62 61 63 6b 75 70 | 20 65 64 74 2d 61 64 76 |t-backup| edt-adv|
|00004050| 61 6e 63 65 5d 20 32 20 | 28 23 24 20 2e 20 31 36 |ance] 2 |(#$ . 16|
|00004060| 33 32 34 29 20 6e 69 6c | 5d 29 0a 23 40 34 35 20 |324) nil|]).#@45 |
|00004070| 54 6f 67 67 6c 65 20 74 | 6f 20 73 74 61 72 74 20 |Toggle t|o start |
|00004080| 28 6f 72 20 63 61 6e 63 | 65 6c 29 20 74 65 78 74 |(or canc|el) text|
|00004090| 20 73 65 6c 65 63 74 69 | 6f 6e 2e 1f 0a 28 64 65 | selecti|on...(de|
|000040a0| 66 61 6c 69 61 73 20 27 | 65 64 74 2d 74 6f 67 67 |falias '|edt-togg|
|000040b0| 6c 65 2d 73 65 6c 65 63 | 74 20 23 5b 6e 69 6c 20 |le-selec|t #[nil |
|000040c0| 22 08 83 07 00 c1 20 87 | c2 20 87 22 20 5b 65 64 |"..... .|. ." [ed|
|000040d0| 74 2d 73 65 6c 65 63 74 | 2d 6d 6f 64 65 20 65 64 |t-select|-mode ed|
|000040e0| 74 2d 72 65 73 65 74 20 | 65 64 74 2d 73 65 6c 65 |t-reset |edt-sele|
|000040f0| 63 74 5d 20 31 20 28 23 | 24 20 2e 20 31 36 34 39 |ct] 1 (#|$ . 1649|
|00004100| 36 29 20 6e 69 6c 5d 29 | 0a 23 40 31 31 33 20 4d |6) nil])|.#@113 M|
|00004110| 6f 76 65 20 66 6f 72 77 | 61 72 64 20 74 6f 20 73 |ove forw|ard to s|
|00004120| 74 61 72 74 20 6f 66 20 | 6e 65 78 74 20 73 65 6e |tart of |next sen|
|00004130| 74 65 6e 63 65 2e 0a 41 | 63 63 65 70 74 73 20 61 |tence..A|ccepts a|
|00004140| 20 70 6f 73 69 74 69 76 | 65 20 70 72 65 66 69 78 | positiv|e prefix|
|00004150| 20 61 72 67 75 6d 65 6e | 74 20 66 6f 72 20 74 68 | argumen|t for th|
|00004160| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 73 65 6e 74 |e number| of sent|
|00004170| 65 6e 63 65 73 20 74 6f | 20 6d 6f 76 65 2e 1f 0a |ences to| move...|
|00004180| 28 64 65 66 61 6c 69 61 | 73 20 27 65 64 74 2d 73 |(defalia|s 'edt-s|
|00004190| 65 6e 74 65 6e 63 65 2d | 66 6f 72 77 61 72 64 20 |entence-|forward |
|000041a0| 23 5b 28 6e 75 6d 29 20 | 22 c0 09 21 88 6d 83 5c |#[(num) |"..!.m.\|
|000041b0| 66 00 c2 c3 21 87 c4 09 | 21 88 c5 20 87 22 20 5b |f...!...|!.. ." [|
|000041c0| 65 64 74 2d 63 68 65 63 | 6b 2d 70 72 65 66 69 78 |edt-chec|k-prefix|
|000041d0| 20 6e 75 6d 20 65 72 72 | 6f 72 20 22 45 6e 64 20 | num err|or "End |
|000041e0| 6f 66 20 62 75 66 66 65 | 72 22 20 66 6f 72 77 61 |of buffe|r" forwa|
|000041f0| 72 64 2d 73 65 6e 74 65 | 6e 63 65 20 65 64 74 2d |rd-sente|nce edt-|
|00004200| 6f 6e 65 2d 77 6f 72 64 | 2d 66 6f 72 77 61 72 64 |one-word|-forward|
|00004210| 5d 20 32 20 28 23 24 20 | 2e 20 31 36 36 35 35 29 |] 2 (#$ |. 16655)|
|00004220| 20 22 70 22 5d 29 0a 23 | 40 31 31 35 20 4d 6f 76 | "p"]).#|@115 Mov|
|00004230| 65 20 62 61 63 6b 77 61 | 72 64 20 74 6f 20 6e 65 |e backwa|rd to ne|
|00004240| 78 74 20 73 65 6e 74 65 | 6e 63 65 20 62 65 67 69 |xt sente|nce begi|
|00004250| 6e 6e 69 6e 67 2e 0a 41 | 63 63 65 70 74 73 20 61 |nning..A|ccepts a|
|00004260| 20 70 6f 73 69 74 69 76 | 65 20 70 72 65 66 69 78 | positiv|e prefix|
|00004270| 20 61 72 67 75 6d 65 6e | 74 20 66 6f 72 20 74 68 | argumen|t for th|
|00004280| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 73 65 6e 74 |e number| of sent|
|00004290| 65 6e 63 65 73 20 74 6f | 20 6d 6f 76 65 2e 1f 0a |ences to| move...|
|000042a0| 28 64 65 66 61 6c 69 61 | 73 20 27 65 64 74 2d 73 |(defalia|s 'edt-s|
|000042b0| 65 6e 74 65 6e 63 65 2d | 62 61 63 6b 77 61 72 64 |entence-|backward|
|000042c0| 20 23 5b 28 6e 75 6d 29 | 20 22 c0 09 21 88 6d 83 | #[(num)| "..!.m.|
|000042d0| 5c 66 00 c2 c3 21 87 c4 | 09 21 87 22 20 5b 65 64 |\f...!..|.!." [ed|
|000042e0| 74 2d 63 68 65 63 6b 2d | 70 72 65 66 69 78 20 6e |t-check-|prefix n|
|000042f0| 75 6d 20 65 72 72 6f 72 | 20 22 45 6e 64 20 6f 66 |um error| "End of|
|00004300| 20 62 75 66 66 65 72 22 | 20 62 61 63 6b 77 61 72 | buffer"| backwar|
|00004310| 64 2d 73 65 6e 74 65 6e | 63 65 5d 20 32 20 28 23 |d-senten|ce] 2 (#|
|00004320| 24 20 2e 20 31 36 39 34 | 31 29 20 22 70 22 5d 29 |$ . 1694|1) "p"])|
|00004330| 0a 23 40 31 31 37 20 4d | 6f 76 65 20 69 6e 20 63 |.#@117 M|ove in c|
|00004340| 75 72 72 65 6e 74 20 64 | 69 72 65 63 74 69 6f 6e |urrent d|irection|
|00004350| 20 74 6f 20 6e 65 78 74 | 20 73 65 6e 74 65 6e 63 | to next| sentenc|
|00004360| 65 2e 0a 41 63 63 65 70 | 74 73 20 61 20 70 6f 73 |e..Accep|ts a pos|
|00004370| 69 74 69 76 65 20 70 72 | 65 66 69 78 20 61 72 67 |itive pr|efix arg|
|00004380| 75 6d 65 6e 74 20 66 6f | 72 20 74 68 65 20 6e 75 |ument fo|r the nu|
|00004390| 6d 62 65 72 20 6f 66 20 | 73 65 6e 74 65 6e 63 65 |mber of |sentence|
|000043a0| 73 20 74 6f 20 6d 6f 76 | 65 2e 1f 0a 28 64 65 66 |s to mov|e...(def|
|000043b0| 61 6c 69 61 73 20 27 65 | 64 74 2d 73 65 6e 74 65 |alias 'e|dt-sente|
|000043c0| 6e 63 65 20 23 5b 28 6e | 75 6d 29 20 22 08 09 9a |nce #[(n|um) "...|
|000043d0| 83 5c 6e 00 c2 0b 21 87 | c4 0b 21 87 22 20 5b 65 |.\n...!.|..!." [e|
|000043e0| 64 74 2d 64 69 72 65 63 | 74 69 6f 6e 2d 73 74 72 |dt-direc|tion-str|
|000043f0| 69 6e 67 20 65 64 74 2d | 66 6f 72 77 61 72 64 2d |ing edt-|forward-|
|00004400| 73 74 72 69 6e 67 20 65 | 64 74 2d 73 65 6e 74 65 |string e|dt-sente|
|00004410| 6e 63 65 2d 66 6f 72 77 | 61 72 64 20 6e 75 6d 20 |nce-forw|ard num |
|00004420| 65 64 74 2d 73 65 6e 74 | 65 6e 63 65 2d 62 61 63 |edt-sent|ence-bac|
|00004430| 6b 77 61 72 64 5d 20 32 | 20 28 23 24 20 2e 20 31 |kward] 2| (#$ . 1|
|00004440| 37 32 30 37 29 20 22 70 | 22 5d 29 0a 23 40 31 31 |7207) "p|"]).#@11|
|00004450| 34 20 4d 6f 76 65 20 66 | 6f 72 77 61 72 64 20 74 |4 Move f|orward t|
|00004460| 6f 20 62 65 67 69 6e 6e | 69 6e 67 20 6f 66 20 70 |o beginn|ing of p|
|00004470| 61 72 61 67 72 61 70 68 | 2e 0a 41 63 63 65 70 74 |aragraph|..Accept|
|00004480| 73 20 61 20 70 6f 73 69 | 74 69 76 65 20 70 72 65 |s a posi|tive pre|
|00004490| 66 69 78 20 61 72 67 75 | 6d 65 6e 74 20 66 6f 72 |fix argu|ment for|
|000044a0| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 70 | the num|ber of p|
|000044b0| 61 72 61 67 72 61 70 68 | 73 20 74 6f 20 6d 6f 76 |aragraph|s to mov|
|000044c0| 65 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 65 |e...(def|alias 'e|
|000044d0| 64 74 2d 70 61 72 61 67 | 72 61 70 68 2d 66 6f 72 |dt-parag|raph-for|
|000044e0| 77 61 72 64 20 23 5b 28 | 6e 75 6d 29 20 22 c0 09 |ward #[(|num) "..|
|000044f0| 21 88 09 c2 56 85 24 00 | c3 c4 21 88 c5 20 88 c6 |!...V.$.|..!.. ..|
|00004500| c4 21 88 6c 83 1d 00 c3 | c4 21 88 09 53 89 11 82 |.!.l....|.!..S...|
|00004510| 05 00 87 22 20 5b 65 64 | 74 2d 63 68 65 63 6b 2d |..." [ed|t-check-|
|00004520| 70 72 65 66 69 78 20 6e | 75 6d 20 30 20 6e 65 78 |prefix n|um 0 nex|
|00004530| 74 2d 6c 69 6e 65 20 31 | 20 66 6f 72 77 61 72 64 |t-line 1| forward|
|00004540| 2d 70 61 72 61 67 72 61 | 70 68 20 70 72 65 76 69 |-paragra|ph previ|
|00004550| 6f 75 73 2d 6c 69 6e 65 | 5d 20 33 20 28 23 24 20 |ous-line|] 3 (#$ |
|00004560| 2e 20 31 37 34 39 30 29 | 20 22 70 22 5d 29 0a 23 |. 17490)| "p"]).#|
|00004570| 40 31 31 35 20 4d 6f 76 | 65 20 62 61 63 6b 77 61 |@115 Mov|e backwa|
|00004580| 72 64 20 74 6f 20 62 65 | 67 69 6e 6e 69 6e 67 20 |rd to be|ginning |
|00004590| 6f 66 20 70 61 72 61 67 | 72 61 70 68 2e 0a 41 63 |of parag|raph..Ac|
|000045a0| 63 65 70 74 73 20 61 20 | 70 6f 73 69 74 69 76 65 |cepts a |positive|
|000045b0| 20 70 72 65 66 69 78 20 | 61 72 67 75 6d 65 6e 74 | prefix |argument|
|000045c0| 20 66 6f 72 20 74 68 65 | 20 6e 75 6d 62 65 72 20 | for the| number |
|000045d0| 6f 66 20 70 61 72 61 67 | 72 61 70 68 73 20 74 6f |of parag|raphs to|
|000045e0| 20 6d 6f 76 65 2e 1f 0a | 28 64 65 66 61 6c 69 61 | move...|(defalia|
|000045f0| 73 20 27 65 64 74 2d 70 | 61 72 61 67 72 61 70 68 |s 'edt-p|aragraph|
|00004600| 2d 62 61 63 6b 77 61 72 | 64 20 23 5b 28 6e 75 6d |-backwar|d #[(num|
|00004610| 29 20 22 c0 09 21 88 09 | c2 56 85 20 00 c3 20 88 |) "..!..|.V. .. .|
|00004620| c4 c5 21 88 6c 83 19 00 | c6 c5 21 88 09 53 89 11 |..!.l...|..!..S..|
|00004630| 82 05 00 87 22 20 5b 65 | 64 74 2d 63 68 65 63 6b |...." [e|dt-check|
|00004640| 2d 70 72 65 66 69 78 20 | 6e 75 6d 20 30 20 62 61 |-prefix |num 0 ba|
|00004650| 63 6b 77 61 72 64 2d 70 | 61 72 61 67 72 61 70 68 |ckward-p|aragraph|
|00004660| 20 70 72 65 76 69 6f 75 | 73 2d 6c 69 6e 65 20 31 | previou|s-line 1|
|00004670| 20 6e 65 78 74 2d 6c 69 | 6e 65 5d 20 33 20 28 23 | next-li|ne] 3 (#|
|00004680| 24 20 2e 20 31 37 37 38 | 31 29 20 22 70 22 5d 29 |$ . 1778|1) "p"])|
|00004690| 0a 23 40 31 31 38 20 4d | 6f 76 65 20 69 6e 20 63 |.#@118 M|ove in c|
|000046a0| 75 72 72 65 6e 74 20 64 | 69 72 65 63 74 69 6f 6e |urrent d|irection|
|000046b0| 20 74 6f 20 6e 65 78 74 | 20 70 61 72 61 67 72 61 | to next| paragra|
|000046c0| 70 68 2e 0a 41 63 63 65 | 70 74 73 20 61 20 70 6f |ph..Acce|pts a po|
|000046d0| 73 69 74 69 76 65 20 70 | 72 65 66 69 78 20 61 72 |sitive p|refix ar|
|000046e0| 67 75 6d 65 6e 74 20 66 | 6f 72 20 74 68 65 20 6e |gument f|or the n|
|000046f0| 75 6d 62 65 72 20 6f 66 | 20 70 61 72 61 67 72 61 |umber of| paragra|
|00004700| 70 68 20 74 6f 20 6d 6f | 76 65 2e 1f 0a 28 64 65 |ph to mo|ve...(de|
|00004710| 66 61 6c 69 61 73 20 27 | 65 64 74 2d 70 61 72 61 |falias '|edt-para|
|00004720| 67 72 61 70 68 20 23 5b | 28 6e 75 6d 29 20 22 08 |graph #[|(num) ".|
|00004730| 09 9a 83 5c 6e 00 c2 0b | 21 87 c4 0b 21 87 22 20 |...\n...|!...!." |
|00004740| 5b 65 64 74 2d 64 69 72 | 65 63 74 69 6f 6e 2d 73 |[edt-dir|ection-s|
|00004750| 74 72 69 6e 67 20 65 64 | 74 2d 66 6f 72 77 61 72 |tring ed|t-forwar|
|00004760| 64 2d 73 74 72 69 6e 67 | 20 65 64 74 2d 70 61 72 |d-string| edt-par|
|00004770| 61 67 72 61 70 68 2d 66 | 6f 72 77 61 72 64 20 6e |agraph-f|orward n|
|00004780| 75 6d 20 65 64 74 2d 70 | 61 72 61 67 72 61 70 68 |um edt-p|aragraph|
|00004790| 2d 62 61 63 6b 77 61 72 | 64 5d 20 32 20 28 23 24 |-backwar|d] 2 (#$|
|000047a0| 20 2e 20 31 38 30 37 31 | 29 20 22 70 22 5d 29 0a | . 18071|) "p"]).|
|000047b0| 23 40 39 37 20 52 65 73 | 74 6f 72 65 20 6c 61 73 |#@97 Res|tore las|
|000047c0| 74 20 72 65 70 6c 61 63 | 65 64 20 6b 65 79 20 64 |t replac|ed key d|
|000047d0| 65 66 69 6e 69 74 69 6f | 6e 2e 0a 44 65 66 69 6e |efinitio|n..Defin|
|000047e0| 69 74 69 6f 6e 20 69 73 | 20 73 74 6f 72 65 64 20 |ition is| stored |
|000047f0| 69 6e 20 65 64 74 2d 6c | 61 73 74 2d 72 65 70 6c |in edt-l|ast-repl|
|00004800| 61 63 65 64 2d 6b 65 79 | 2d 64 65 66 69 6e 69 74 |aced-key|-definit|
|00004810| 69 6f 6e 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |ion...(d|efalias |
|00004820| 27 65 64 74 2d 72 65 73 | 74 6f 72 65 2d 6b 65 79 |'edt-res|tore-key|
|00004830| 20 23 5b 6e 69 6c 20 22 | 08 83 20 00 c1 1a c2 c3 | #[nil "|.. .....|
|00004840| c4 21 4c 88 5c 6e c5 98 | 83 18 00 c6 c7 21 82 1e |.!L.\n..|.....!..|
|00004850| 00 c8 c9 20 5c 6e 08 23 | 29 87 ca cb 21 87 22 20 |... \n.#|)...!." |
|00004860| 5b 65 64 74 2d 6c 61 73 | 74 2d 72 65 70 6c 61 63 |[edt-las|t-replac|
|00004870| 65 64 2d 6b 65 79 2d 64 | 65 66 69 6e 69 74 69 6f |ed-key-d|efinitio|
|00004880| 6e 20 6e 69 6c 20 65 64 | 74 2d 6b 65 79 2d 64 65 |n nil ed|t-key-de|
|00004890| 66 69 6e 69 74 69 6f 6e | 2d 73 74 72 69 6e 67 20 |finition|-string |
|000048a0| 72 65 61 64 2d 6b 65 79 | 2d 73 65 71 75 65 6e 63 |read-key|-sequenc|
|000048b0| 65 20 22 50 72 65 73 73 | 20 74 68 65 20 6b 65 79 |e "Press| the key|
|000048c0| 20 74 6f 20 62 65 20 72 | 65 73 74 6f 72 65 64 3a | to be r|estored:|
|000048d0| 20 22 20 22 0d 22 20 6d | 65 73 73 61 67 65 20 22 | " "." m|essage "|
|000048e0| 4b 65 79 20 6e 6f 74 20 | 72 65 73 74 6f 72 65 64 |Key not |restored|
|000048f0| 22 20 64 65 66 69 6e 65 | 2d 6b 65 79 20 63 75 72 |" define|-key cur|
|00004900| 72 65 6e 74 2d 67 6c 6f | 62 61 6c 2d 6d 61 70 20 |rent-glo|bal-map |
|00004910| 65 72 72 6f 72 20 22 4e | 6f 20 72 65 70 6c 61 63 |error "N|o replac|
|00004920| 65 64 20 6b 65 79 20 64 | 65 66 69 6e 69 74 69 6f |ed key d|efinitio|
|00004930| 6e 20 74 6f 20 72 65 73 | 74 6f 72 65 21 22 5d 20 |n to res|tore!"] |
|00004940| 34 20 28 23 24 20 2e 20 | 31 38 33 35 37 29 20 6e |4 (#$ . |18357) n|
|00004950| 69 6c 5d 29 0a 23 40 34 | 33 20 4d 6f 76 65 20 74 |il]).#@4|3 Move t|
|00004960| 68 65 20 63 75 72 73 6f | 72 20 74 6f 20 74 68 65 |he curso|r to the|
|00004970| 20 74 6f 70 20 6f 66 20 | 74 68 65 20 77 69 6e 64 | top of |the wind|
|00004980| 6f 77 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |ow...(de|falias '|
|00004990| 65 64 74 2d 77 69 6e 64 | 6f 77 2d 74 6f 70 20 23 |edt-wind|ow-top #|
|000049a0| 5b 6e 69 6c 20 22 69 18 | c1 c2 21 88 c3 08 21 29 |[nil "i.|..!...!)|
|000049b0| 87 22 20 5b 73 74 61 72 | 74 2d 63 6f 6c 75 6d 6e |." [star|t-column|
|000049c0| 20 6d 6f 76 65 2d 74 6f | 2d 77 69 6e 64 6f 77 2d | move-to|-window-|
|000049d0| 6c 69 6e 65 20 30 20 6d | 6f 76 65 2d 74 6f 2d 63 |line 0 m|ove-to-c|
|000049e0| 6f 6c 75 6d 6e 5d 20 32 | 20 28 23 24 20 2e 20 31 |olumn] 2| (#$ . 1|
|000049f0| 38 37 37 38 29 20 6e 69 | 6c 5d 29 0a 23 40 34 36 |8778) ni|l]).#@46|
|00004a00| 20 4d 6f 76 65 20 74 68 | 65 20 63 75 72 73 6f 72 | Move th|e cursor|
|00004a10| 20 74 6f 20 74 68 65 20 | 62 6f 74 74 6f 6d 20 6f | to the |bottom o|
|00004a20| 66 20 74 68 65 20 77 69 | 6e 64 6f 77 2e 1f 0a 28 |f the wi|ndow...(|
|00004a30| 64 65 66 61 6c 69 61 73 | 20 27 65 64 74 2d 77 69 |defalias| 'edt-wi|
|00004a40| 6e 64 6f 77 2d 62 6f 74 | 74 6f 6d 20 23 5b 6e 69 |ndow-bot|tom #[ni|
|00004a50| 6c 20 22 69 18 c1 c2 20 | c3 5a 21 88 c4 08 21 29 |l "i... |.Z!...!)|
|00004a60| 87 22 20 5b 73 74 61 72 | 74 2d 63 6f 6c 75 6d 6e |." [star|t-column|
|00004a70| 20 6d 6f 76 65 2d 74 6f | 2d 77 69 6e 64 6f 77 2d | move-to|-window-|
|00004a80| 6c 69 6e 65 20 77 69 6e | 64 6f 77 2d 68 65 69 67 |line win|dow-heig|
|00004a90| 68 74 20 32 20 6d 6f 76 | 65 2d 74 6f 2d 63 6f 6c |ht 2 mov|e-to-col|
|00004aa0| 75 6d 6e 5d 20 33 20 28 | 23 24 20 2e 20 31 38 39 |umn] 3 (|#$ . 189|
|00004ab0| 34 35 29 20 6e 69 6c 5d | 29 0a 23 40 36 38 20 4d |45) nil]|).#@68 M|
|00004ac0| 6f 76 65 20 77 69 6e 64 | 6f 77 20 66 6f 72 77 61 |ove wind|ow forwa|
|00004ad0| 72 64 20 6f 6e 65 20 6c | 69 6e 65 20 6c 65 61 76 |rd one l|ine leav|
|00004ae0| 69 6e 67 20 63 75 72 73 | 6f 72 20 61 74 20 70 6f |ing curs|or at po|
|00004af0| 73 69 74 69 6f 6e 20 69 | 6e 20 77 69 6e 64 6f 77 |sition i|n window|
|00004b00| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 65 64 |...(defa|lias 'ed|
|00004b10| 74 2d 73 63 72 6f 6c 6c | 2d 77 69 6e 64 6f 77 2d |t-scroll|-window-|
|00004b20| 66 6f 72 77 61 72 64 2d | 6c 69 6e 65 20 23 5b 6e |forward-|line #[n|
|00004b30| 69 6c 20 22 c0 c1 21 87 | 22 20 5b 73 63 72 6f 6c |il "..!.|" [scrol|
|00004b40| 6c 2d 75 70 20 31 5d 20 | 32 20 28 23 24 20 2e 20 |l-up 1] |2 (#$ . |
|00004b50| 31 39 31 33 35 29 20 6e | 69 6c 5d 29 0a 23 40 36 |19135) n|il]).#@6|
|00004b60| 39 20 4d 6f 76 65 20 77 | 69 6e 64 6f 77 20 62 61 |9 Move w|indow ba|
|00004b70| 63 6b 77 61 72 64 20 6f | 6e 65 20 6c 69 6e 65 20 |ckward o|ne line |
|00004b80| 6c 65 61 76 69 6e 67 20 | 63 75 72 73 6f 72 20 61 |leaving |cursor a|
|00004b90| 74 20 70 6f 73 69 74 69 | 6f 6e 20 69 6e 20 77 69 |t positi|on in wi|
|00004ba0| 6e 64 6f 77 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |ndow...(|defalias|
|00004bb0| 20 27 65 64 74 2d 73 63 | 72 6f 6c 6c 2d 77 69 6e | 'edt-sc|roll-win|
|00004bc0| 64 6f 77 2d 62 61 63 6b | 77 61 72 64 2d 6c 69 6e |dow-back|ward-lin|
|00004bd0| 65 20 23 5b 6e 69 6c 20 | 22 c0 c1 21 87 22 20 5b |e #[nil |"..!." [|
|00004be0| 73 63 72 6f 6c 6c 2d 64 | 6f 77 6e 20 31 5d 20 32 |scroll-d|own 1] 2|
|00004bf0| 20 28 23 24 20 2e 20 31 | 39 32 39 38 29 20 6e 69 | (#$ . 1|9298) ni|
|00004c00| 6c 5d 29 0a 23 40 34 34 | 20 4d 6f 76 65 20 77 69 |l]).#@44| Move wi|
|00004c10| 6e 64 6f 77 20 6f 6e 65 | 20 6c 69 6e 65 20 69 6e |ndow one| line in|
|00004c20| 20 63 75 72 72 65 6e 74 | 20 64 69 72 65 63 74 69 | current| directi|
|00004c30| 6f 6e 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |on...(de|falias '|
|00004c40| 65 64 74 2d 73 63 72 6f | 6c 6c 2d 6c 69 6e 65 20 |edt-scro|ll-line |
|00004c50| 23 5b 6e 69 6c 20 22 08 | 09 9a 83 09 00 c2 20 87 |#[nil ".|...... .|
|00004c60| c3 20 87 22 20 5b 65 64 | 74 2d 64 69 72 65 63 74 |. ." [ed|t-direct|
|00004c70| 69 6f 6e 2d 73 74 72 69 | 6e 67 20 65 64 74 2d 66 |ion-stri|ng edt-f|
|00004c80| 6f 72 77 61 72 64 2d 73 | 74 72 69 6e 67 20 65 64 |orward-s|tring ed|
|00004c90| 74 2d 73 63 72 6f 6c 6c | 2d 77 69 6e 64 6f 77 2d |t-scroll|-window-|
|00004ca0| 66 6f 72 77 61 72 64 2d | 6c 69 6e 65 20 65 64 74 |forward-|line edt|
|00004cb0| 2d 73 63 72 6f 6c 6c 2d | 77 69 6e 64 6f 77 2d 62 |-scroll-|window-b|
|00004cc0| 61 63 6b 77 61 72 64 2d | 6c 69 6e 65 5d 20 32 20 |ackward-|line] 2 |
|00004cd0| 28 23 24 20 2e 20 31 39 | 34 36 35 29 20 6e 69 6c |(#$ . 19|465) nil|
|00004ce0| 5d 29 0a 23 40 31 32 33 | 20 53 63 72 6f 6c 6c 20 |]).#@123| Scroll |
|00004cf0| 66 6f 72 77 61 72 64 20 | 6f 6e 65 20 77 69 6e 64 |forward |one wind|
|00004d00| 6f 77 20 69 6e 20 62 75 | 66 66 65 72 2c 20 6c 65 |ow in bu|ffer, le|
|00004d10| 73 73 20 6f 6e 65 20 6c | 69 6e 65 2e 0a 41 63 63 |ss one l|ine..Acc|
|00004d20| 65 70 74 73 20 61 20 70 | 6f 73 69 74 69 76 65 20 |epts a p|ositive |
|00004d30| 70 72 65 66 69 78 20 61 | 72 67 75 6d 65 6e 74 20 |prefix a|rgument |
|00004d40| 66 6f 72 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |for the |number o|
|00004d50| 66 20 77 69 6e 64 6f 77 | 73 20 74 6f 20 6d 6f 76 |f window|s to mov|
|00004d60| 65 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 65 |e...(def|alias 'e|
|00004d70| 64 74 2d 73 63 72 6f 6c | 6c 2d 77 69 6e 64 6f 77 |dt-scrol|l-window|
|00004d80| 2d 66 6f 72 77 61 72 64 | 20 23 5b 28 6e 75 6d 29 |-forward| #[(num)|
|00004d90| 20 22 c0 09 21 88 c2 c3 | 20 09 5f c4 5a 21 88 c5 | "..!...| ._.Z!..|
|00004da0| c3 20 c6 5a c4 a5 21 87 | 22 20 5b 65 64 74 2d 63 |. .Z..!.|" [edt-c|
|00004db0| 68 65 63 6b 2d 70 72 65 | 66 69 78 20 6e 75 6d 20 |heck-pre|fix num |
|00004dc0| 73 63 72 6f 6c 6c 2d 75 | 70 20 77 69 6e 64 6f 77 |scroll-u|p window|
|00004dd0| 2d 68 65 69 67 68 74 20 | 32 20 65 64 74 2d 6c 69 |-height |2 edt-li|
|00004de0| 6e 65 2d 66 6f 72 77 61 | 72 64 20 31 5d 20 33 20 |ne-forwa|rd 1] 3 |
|00004df0| 28 23 24 20 2e 20 31 39 | 36 38 39 29 20 22 70 22 |(#$ . 19|689) "p"|
|00004e00| 5d 29 0a 23 40 31 32 34 | 20 53 63 72 6f 6c 6c 20 |]).#@124| Scroll |
|00004e10| 62 61 63 6b 77 61 72 64 | 20 6f 6e 65 20 77 69 6e |backward| one win|
|00004e20| 64 6f 77 20 69 6e 20 62 | 75 66 66 65 72 2c 20 6c |dow in b|uffer, l|
|00004e30| 65 73 73 20 6f 6e 65 20 | 6c 69 6e 65 2e 0a 41 63 |ess one |line..Ac|
|00004e40| 63 65 70 74 73 20 61 20 | 70 6f 73 69 74 69 76 65 |cepts a |positive|
|00004e50| 20 70 72 65 66 69 78 20 | 61 72 67 75 6d 65 6e 74 | prefix |argument|
|00004e60| 20 66 6f 72 20 74 68 65 | 20 6e 75 6d 62 65 72 20 | for the| number |
|00004e70| 6f 66 20 77 69 6e 64 6f | 77 73 20 74 6f 20 6d 6f |of windo|ws to mo|
|00004e80| 76 65 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |ve...(de|falias '|
|00004e90| 65 64 74 2d 73 63 72 6f | 6c 6c 2d 77 69 6e 64 6f |edt-scro|ll-windo|
|00004ea0| 77 2d 62 61 63 6b 77 61 | 72 64 20 23 5b 28 6e 75 |w-backwa|rd #[(nu|
|00004eb0| 6d 29 20 22 c0 09 21 88 | c2 c3 20 09 5f c4 5a 21 |m) "..!.|.. ._.Z!|
|00004ec0| 88 c5 c3 20 c6 5a c4 a5 | 21 87 22 20 5b 65 64 74 |... .Z..|!." [edt|
|00004ed0| 2d 63 68 65 63 6b 2d 70 | 72 65 66 69 78 20 6e 75 |-check-p|refix nu|
|00004ee0| 6d 20 73 63 72 6f 6c 6c | 2d 64 6f 77 6e 20 77 69 |m scroll|-down wi|
|00004ef0| 6e 64 6f 77 2d 68 65 69 | 67 68 74 20 32 20 65 64 |ndow-hei|ght 2 ed|
|00004f00| 74 2d 6c 69 6e 65 2d 62 | 61 63 6b 77 61 72 64 20 |t-line-b|ackward |
|00004f10| 31 5d 20 33 20 28 23 24 | 20 2e 20 31 39 39 37 37 |1] 3 (#$| . 19977|
|00004f20| 29 20 22 70 22 5d 29 0a | 23 40 31 33 34 20 53 63 |) "p"]).|#@134 Sc|
|00004f30| 72 6f 6c 6c 20 6f 6e 65 | 20 77 69 6e 64 6f 77 20 |roll one| window |
|00004f40| 69 6e 20 62 75 66 66 65 | 72 2c 20 6c 65 73 73 20 |in buffe|r, less |
|00004f50| 6f 6e 65 20 6c 69 6e 65 | 2c 20 69 6e 20 63 75 72 |one line|, in cur|
|00004f60| 72 65 6e 74 20 64 69 72 | 65 63 74 69 6f 6e 2e 0a |rent dir|ection..|
|00004f70| 41 63 63 65 70 74 73 20 | 61 20 70 6f 73 69 74 69 |Accepts |a positi|
|00004f80| 76 65 20 70 72 65 66 69 | 78 20 61 72 67 75 6d 65 |ve prefi|x argume|
|00004f90| 6e 74 20 66 6f 72 20 74 | 68 65 20 6e 75 6d 62 65 |nt for t|he numbe|
|00004fa0| 72 20 77 69 6e 64 6f 77 | 73 20 74 6f 20 6d 6f 76 |r window|s to mov|
|00004fb0| 65 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 65 |e...(def|alias 'e|
|00004fc0| 64 74 2d 73 63 72 6f 6c | 6c 2d 77 69 6e 64 6f 77 |dt-scrol|l-window|
|00004fd0| 20 23 5b 28 6e 75 6d 29 | 20 22 08 09 9a 83 5c 6e | #[(num)| "....\n|
|00004fe0| 00 c2 0b 21 87 c4 0b 21 | 87 22 20 5b 65 64 74 2d |...!...!|." [edt-|
|00004ff0| 64 69 72 65 63 74 69 6f | 6e 2d 73 74 72 69 6e 67 |directio|n-string|
|00005000| 20 65 64 74 2d 66 6f 72 | 77 61 72 64 2d 73 74 72 | edt-for|ward-str|
|00005010| 69 6e 67 20 65 64 74 2d | 73 63 72 6f 6c 6c 2d 77 |ing edt-|scroll-w|
|00005020| 69 6e 64 6f 77 2d 66 6f | 72 77 61 72 64 20 6e 75 |indow-fo|rward nu|
|00005030| 6d 20 65 64 74 2d 73 63 | 72 6f 6c 6c 2d 77 69 6e |m edt-sc|roll-win|
|00005040| 64 6f 77 2d 62 61 63 6b | 77 61 72 64 5d 20 32 20 |dow-back|ward] 2 |
|00005050| 28 23 24 20 2e 20 32 30 | 32 37 30 29 20 22 70 22 |(#$ . 20|270) "p"|
|00005060| 5d 29 0a 23 40 35 32 20 | 4d 6f 76 65 20 74 68 65 |]).#@52 |Move the|
|00005070| 20 63 75 72 72 65 6e 74 | 20 6c 69 6e 65 20 74 6f | current| line to|
|00005080| 20 74 68 65 20 62 6f 74 | 74 6f 6d 20 6f 66 20 74 | the bot|tom of t|
|00005090| 68 65 20 77 69 6e 64 6f | 77 2e 1f 0a 28 64 65 66 |he windo|w...(def|
|000050a0| 61 6c 69 61 73 20 27 65 | 64 74 2d 6c 69 6e 65 2d |alias 'e|dt-line-|
|000050b0| 74 6f 2d 62 6f 74 74 6f | 6d 2d 6f 66 2d 77 69 6e |to-botto|m-of-win|
|000050c0| 64 6f 77 20 23 5b 6e 69 | 6c 20 22 c0 c1 21 87 22 |dow #[ni|l "..!."|
|000050d0| 20 5b 72 65 63 65 6e 74 | 65 72 20 2d 31 5d 20 32 | [recent|er -1] 2|
|000050e0| 20 28 23 24 20 2e 20 32 | 30 35 38 34 29 20 6e 69 | (#$ . 2|0584) ni|
|000050f0| 6c 5d 29 0a 23 40 34 39 | 20 4d 6f 76 65 20 74 68 |l]).#@49| Move th|
|00005100| 65 20 63 75 72 72 65 6e | 74 20 6c 69 6e 65 20 74 |e curren|t line t|
|00005110| 6f 20 74 68 65 20 74 6f | 70 20 6f 66 20 74 68 65 |o the to|p of the|
|00005120| 20 77 69 6e 64 6f 77 2e | 1f 0a 28 64 65 66 61 6c | window.|..(defal|
|00005130| 69 61 73 20 27 65 64 74 | 2d 6c 69 6e 65 2d 74 6f |ias 'edt|-line-to|
|00005140| 2d 74 6f 70 2d 6f 66 2d | 77 69 6e 64 6f 77 20 23 |-top-of-|window #|
|00005150| 5b 6e 69 6c 20 22 c0 c1 | 21 87 22 20 5b 72 65 63 |[nil "..|!." [rec|
|00005160| 65 6e 74 65 72 20 30 5d | 20 32 20 28 23 24 20 2e |enter 0]| 2 (#$ .|
|00005170| 20 32 30 37 32 39 29 20 | 6e 69 6c 5d 29 0a 23 40 | 20729) |nil]).#@|
|00005180| 36 35 20 4d 6f 76 65 20 | 77 69 6e 64 6f 77 20 73 |65 Move |window s|
|00005190| 6f 20 6c 69 6e 65 20 77 | 69 74 68 20 63 75 72 73 |o line w|ith curs|
|000051a0| 6f 72 20 69 73 20 69 6e | 20 74 68 65 20 6d 69 64 |or is in| the mid|
|000051b0| 64 6c 65 20 6f 66 20 74 | 68 65 20 77 69 6e 64 6f |dle of t|he windo|
|000051c0| 77 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 65 |w...(def|alias 'e|
|000051d0| 64 74 2d 6c 69 6e 65 2d | 74 6f 2d 6d 69 64 64 6c |dt-line-|to-middl|
|000051e0| 65 2d 6f 66 2d 77 69 6e | 64 6f 77 20 23 5b 6e 69 |e-of-win|dow #[ni|
|000051f0| 6c 20 22 c0 c1 21 87 22 | 20 5b 72 65 63 65 6e 74 |l "..!."| [recent|
|00005200| 65 72 20 28 34 29 5d 20 | 32 20 28 23 24 20 2e 20 |er (4)] |2 (#$ . |
|00005210| 32 30 38 36 37 29 20 6e | 69 6c 5d 29 0a 23 40 36 |20867) n|il]).#@6|
|00005220| 30 20 4d 6f 76 65 20 74 | 6f 20 73 70 65 63 69 66 |0 Move t|o specif|
|00005230| 69 65 64 20 70 65 72 63 | 65 6e 74 61 67 65 20 69 |ied perc|entage i|
|00005240| 6e 20 62 75 66 66 65 72 | 20 66 72 6f 6d 20 74 6f |n buffer| from to|
|00005250| 70 20 6f 66 20 62 75 66 | 66 65 72 2e 1f 0a 28 64 |p of buf|fer...(d|
|00005260| 65 66 61 6c 69 61 73 20 | 27 65 64 74 2d 67 6f 74 |efalias |'edt-got|
|00005270| 6f 2d 70 65 72 63 65 6e | 74 61 67 65 20 23 5b 28 |o-percen|tage #[(|
|00005280| 6e 75 6d 29 20 22 08 c1 | 56 84 5c 66 00 08 c2 57 |num) "..|V.\f...W|
|00005290| 83 11 00 c3 c4 08 5c 22 | 87 64 08 5f c1 a5 62 87 |......\"|.d._..b.|
|000052a0| 22 20 5b 6e 75 6d 20 31 | 30 30 20 30 20 65 72 72 |" [num 1|00 0 err|
|000052b0| 6f 72 20 22 50 65 72 63 | 65 6e 74 61 67 65 20 25 |or "Perc|entage %|
|000052c0| 64 20 6f 75 74 20 6f 66 | 20 72 61 6e 67 65 20 30 |d out of| range 0|
|000052d0| 20 3c 20 70 65 72 63 65 | 6e 74 20 3c 20 31 30 30 | < perce|nt < 100|
|000052e0| 22 5d 20 33 20 28 23 24 | 20 2e 20 32 31 30 32 36 |"] 3 (#$| . 21026|
|000052f0| 29 20 22 4e 47 6f 74 6f | 2d 70 65 72 63 65 6e 74 |) "NGoto|-percent|
|00005300| 61 67 65 3a 20 22 5d 29 | 0a 23 40 32 31 20 46 69 |age: "])|.#@21 Fi|
|00005310| 6c 6c 20 73 65 6c 65 63 | 74 65 64 20 74 65 78 74 |ll selec|ted text|
|00005320| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 65 64 |...(defa|lias 'ed|
|00005330| 74 2d 66 69 6c 6c 2d 72 | 65 67 69 6f 6e 20 23 5b |t-fill-r|egion #[|
|00005340| 6e 69 6c 20 22 c0 20 88 | c1 60 c2 20 5c 22 87 22 |nil ". .|.`. \"."|
|00005350| 20 5b 65 64 74 2d 63 68 | 65 63 6b 2d 73 65 6c 65 | [edt-ch|eck-sele|
|00005360| 63 74 69 6f 6e 20 66 69 | 6c 6c 2d 72 65 67 69 6f |ction fi|ll-regio|
|00005370| 6e 20 6d 61 72 6b 5d 20 | 33 20 28 23 24 20 2e 20 |n mark] |3 (#$ . |
|00005380| 32 31 32 36 32 29 20 22 | 2a 22 5d 29 0a 23 40 37 |21262) "|*"]).#@7|
|00005390| 33 20 46 69 6c 6c 20 72 | 65 67 69 6f 6e 20 69 6e |3 Fill r|egion in|
|000053a0| 20 74 65 78 74 20 6d 6f | 64 65 73 2c 20 69 6e 64 | text mo|des, ind|
|000053b0| 65 6e 74 20 72 65 67 69 | 6f 6e 20 69 6e 20 70 72 |ent regi|on in pr|
|000053c0| 6f 67 72 61 6d 6d 69 6e | 67 20 6c 61 6e 67 75 61 |ogrammin|g langua|
|000053d0| 67 65 20 6d 6f 64 65 73 | 2e 1f 0a 28 64 65 66 61 |ge modes|...(defa|
|000053e0| 6c 69 61 73 20 27 65 64 | 74 2d 69 6e 64 65 6e 74 |lias 'ed|t-indent|
|000053f0| 2d 6f 72 2d 66 69 6c 6c | 2d 72 65 67 69 6f 6e 20 |-or-fill|-region |
|00005400| 23 5b 6e 69 6c 20 22 08 | c1 98 83 0d 00 c2 60 c3 |#[nil ".|......`.|
|00005410| 20 c4 23 87 c5 60 c3 20 | 5c 22 87 22 20 5b 70 61 | .#..`. |\"." [pa|
|00005420| 72 61 67 72 61 70 68 2d | 73 74 61 72 74 20 22 24 |ragraph-|start "$|
|00005430| 5c 5c 7c 5c 66 22 20 69 | 6e 64 65 6e 74 2d 72 65 |\\|\f" i|ndent-re|
|00005440| 67 69 6f 6e 20 6d 61 72 | 6b 20 6e 69 6c 20 66 69 |gion mar|k nil fi|
|00005450| 6c 6c 2d 72 65 67 69 6f | 6e 5d 20 34 20 28 23 24 |ll-regio|n] 4 (#$|
|00005460| 20 2e 20 32 31 33 39 34 | 29 20 22 2a 22 5d 29 0a | . 21394|) "*"]).|
|00005470| 23 40 31 39 38 20 4d 61 | 72 6b 20 74 68 65 20 73 |#@198 Ma|rk the s|
|00005480| 65 63 74 69 6f 6e 20 69 | 6e 20 61 20 6d 61 6e 6e |ection i|n a mann|
|00005490| 65 72 20 63 6f 6e 73 69 | 73 74 65 6e 74 20 77 69 |er consi|stent wi|
|000054a0| 74 68 20 74 68 65 20 6d | 61 6a 6f 72 2d 6d 6f 64 |th the m|ajor-mod|
|000054b0| 65 2e 0a 55 73 65 73 20 | 6d 61 72 6b 2d 64 65 66 |e..Uses |mark-def|
|000054c0| 75 6e 20 66 6f 72 20 65 | 6d 61 63 73 2d 6c 69 73 |un for e|macs-lis|
|000054d0| 70 20 61 6e 64 20 6c 69 | 73 70 2c 0a 6d 61 72 6b |p and li|sp,.mark|
|000054e0| 2d 63 2d 66 75 6e 63 74 | 69 6f 6e 20 66 6f 72 20 |-c-funct|ion for |
|000054f0| 43 2c 0a 6d 61 72 6b 2d | 66 6f 72 74 72 61 6e 2d |C,.mark-|fortran-|
|00005500| 73 75 62 73 79 73 74 65 | 6d 20 66 6f 72 20 66 6f |subsyste|m for fo|
|00005510| 72 74 72 61 6e 2c 0a 61 | 6e 64 20 6d 61 72 6b 2d |rtran,.a|nd mark-|
|00005520| 70 61 72 61 67 72 61 70 | 68 20 66 6f 72 20 6f 74 |paragrap|h for ot|
|00005530| 68 65 72 20 6d 6f 64 65 | 73 2e 1f 0a 28 64 65 66 |her mode|s...(def|
|00005540| 61 6c 69 61 73 20 27 65 | 64 74 2d 6d 61 72 6b 2d |alias 'e|dt-mark-|
|00005550| 73 65 63 74 69 6f 6e 2d | 77 69 73 65 6c 79 20 23 |section-|wisely #|
|00005560| 5b 6e 69 6c 20 22 08 83 | 07 00 c1 20 87 5c 6e c3 |[nil "..|... .\n.|
|00005570| 3d 84 13 00 5c 6e c4 3d | 83 1a 00 c5 20 88 c6 c7 |=...\n.=|.... ...|
|00005580| 21 87 5c 6e c8 3d 83 27 | 00 c9 20 88 c6 ca 21 87 |!.\n.=.'|.. ...!.|
|00005590| 5c 6e cb 3d 83 34 00 cc | 20 88 c6 cd 21 87 ce 20 |\n.=.4..| ...!.. |
|000055a0| 88 c6 cf 21 87 22 20 5b | 65 64 74 2d 73 65 6c 65 |...!." [|edt-sele|
|000055b0| 63 74 2d 6d 6f 64 65 20 | 65 64 74 2d 72 65 73 65 |ct-mode |edt-rese|
|000055c0| 74 20 6d 61 6a 6f 72 2d | 6d 6f 64 65 20 65 6d 61 |t major-|mode ema|
|000055d0| 63 73 2d 6c 69 73 70 2d | 6d 6f 64 65 20 6c 69 73 |cs-lisp-|mode lis|
|000055e0| 70 2d 6d 6f 64 65 20 6d | 61 72 6b 2d 64 65 66 75 |p-mode m|ark-defu|
|000055f0| 6e 20 6d 65 73 73 61 67 | 65 20 22 4c 69 73 70 20 |n messag|e "Lisp |
|00005600| 64 65 66 75 6e 20 73 65 | 6c 65 63 74 65 64 22 20 |defun se|lected" |
|00005610| 63 2d 6d 6f 64 65 20 6d | 61 72 6b 2d 63 2d 66 75 |c-mode m|ark-c-fu|
|00005620| 6e 63 74 69 6f 6e 20 22 | 43 20 66 75 6e 63 74 69 |nction "|C functi|
|00005630| 6f 6e 20 73 65 6c 65 63 | 74 65 64 22 20 66 6f 72 |on selec|ted" for|
|00005640| 74 72 61 6e 2d 6d 6f 64 | 65 20 6d 61 72 6b 2d 66 |tran-mod|e mark-f|
|00005650| 6f 72 74 72 61 6e 2d 73 | 75 62 70 72 6f 67 72 61 |ortran-s|ubprogra|
|00005660| 6d 20 22 46 6f 72 74 72 | 61 6e 20 73 75 62 70 72 |m "Fortr|an subpr|
|00005670| 6f 67 72 61 6d 20 73 65 | 6c 65 63 74 65 64 22 20 |ogram se|lected" |
|00005680| 6d 61 72 6b 2d 70 61 72 | 61 67 72 61 70 68 20 22 |mark-par|agraph "|
|00005690| 50 61 72 61 67 72 61 70 | 68 20 73 65 6c 65 63 74 |Paragrap|h select|
|000056a0| 65 64 22 5d 20 32 20 28 | 23 24 20 2e 20 32 31 36 |ed"] 2 (|#$ . 216|
|000056b0| 32 32 29 20 6e 69 6c 5d | 29 0a 23 40 35 37 20 43 |22) nil]|).#@57 C|
|000056c0| 6f 70 79 20 73 65 6c 65 | 63 74 65 64 20 72 65 67 |opy sele|cted reg|
|000056d0| 69 6f 6e 20 74 6f 20 6b | 69 6c 6c 20 72 69 6e 67 |ion to k|ill ring|
|000056e0| 2c 20 62 75 74 20 64 6f | 6e 27 74 20 64 65 6c 65 |, but do|n't dele|
|000056f0| 74 65 20 69 74 21 1f 0a | 28 64 65 66 61 6c 69 61 |te it!..|(defalia|
|00005700| 73 20 27 65 64 74 2d 63 | 6f 70 79 20 23 5b 6e 69 |s 'edt-c|opy #[ni|
|00005710| 6c 20 22 c0 20 88 c1 c2 | 20 60 5c 22 88 c3 20 88 |l ". ...| `\".. .|
|00005720| c4 c5 21 87 22 20 5b 65 | 64 74 2d 63 68 65 63 6b |..!." [e|dt-check|
|00005730| 2d 73 65 6c 65 63 74 69 | 6f 6e 20 63 6f 70 79 2d |-selecti|on copy-|
|00005740| 72 65 67 69 6f 6e 2d 61 | 73 2d 6b 69 6c 6c 20 6d |region-a|s-kill m|
|00005750| 61 72 6b 20 65 64 74 2d | 72 65 73 65 74 20 6d 65 |ark edt-|reset me|
|00005760| 73 73 61 67 65 20 22 53 | 65 6c 65 63 74 65 64 20 |ssage "S|elected |
|00005770| 74 65 78 74 20 43 4f 50 | 49 45 44 20 74 6f 20 6b |text COP|IED to k|
|00005780| 69 6c 6c 20 72 69 6e 67 | 22 5d 20 33 20 28 23 24 |ill ring|"] 3 (#$|
|00005790| 20 2e 20 32 32 32 30 37 | 29 20 6e 69 6c 5d 29 0a | . 22207|) nil]).|
|000057a0| 23 40 31 34 30 20 43 75 | 74 73 20 28 6f 72 20 63 |#@140 Cu|ts (or c|
|000057b0| 6f 70 69 65 73 29 20 73 | 65 6c 65 63 74 65 64 20 |opies) s|elected |
|000057c0| 74 65 78 74 20 74 6f 20 | 6b 69 6c 6c 20 72 69 6e |text to |kill rin|
|000057d0| 67 2e 0a 43 75 74 73 20 | 73 65 6c 65 63 74 65 64 |g..Cuts |selected|
|000057e0| 20 74 65 78 74 20 69 66 | 20 62 75 66 66 65 72 2d | text if| buffer-|
|000057f0| 72 65 61 64 2d 6f 6e 6c | 79 20 69 73 20 6e 69 6c |read-onl|y is nil|
|00005800| 2e 0a 43 6f 70 69 65 73 | 20 73 65 6c 65 63 74 65 |..Copies| selecte|
|00005810| 64 20 74 65 78 74 20 69 | 66 20 62 75 66 66 65 72 |d text i|f buffer|
|00005820| 2d 72 65 61 64 2d 6f 6e | 6c 79 20 69 73 20 74 2e |-read-on|ly is t.|
|00005830| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 65 64 74 |..(defal|ias 'edt|
|00005840| 2d 63 75 74 2d 6f 72 2d | 63 6f 70 79 20 23 5b 6e |-cut-or-|copy #[n|
|00005850| 69 6c 20 22 08 83 07 00 | c1 20 87 c2 20 87 22 20 |il "....|. .. ." |
|00005860| 5b 62 75 66 66 65 72 2d | 72 65 61 64 2d 6f 6e 6c |[buffer-|read-onl|
|00005870| 79 20 65 64 74 2d 63 6f | 70 79 20 65 64 74 2d 63 |y edt-co|py edt-c|
|00005880| 75 74 5d 20 31 20 28 23 | 24 20 2e 20 32 32 34 33 |ut] 1 (#|$ . 2243|
|00005890| 38 29 20 6e 69 6c 5d 29 | 0a 23 40 36 33 20 44 65 |8) nil])|.#@63 De|
|000058a0| 6c 65 74 65 20 65 6e 74 | 69 72 65 20 6c 69 6e 65 |lete ent|ire line|
|000058b0| 20 72 65 67 61 72 64 6c | 65 73 73 20 6f 66 20 63 | regardl|ess of c|
|000058c0| 75 72 73 6f 72 20 70 6f | 73 69 74 69 6f 6e 20 69 |ursor po|sition i|
|000058d0| 6e 20 74 68 65 20 6c 69 | 6e 65 2e 1f 0a 28 64 65 |n the li|ne...(de|
|000058e0| 66 61 6c 69 61 73 20 27 | 65 64 74 2d 64 65 6c 65 |falias '|edt-dele|
|000058f0| 74 65 2d 65 6e 74 69 72 | 65 2d 6c 69 6e 65 20 23 |te-entir|e-line #|
|00005900| 5b 6e 69 6c 20 22 c0 79 | 88 c1 c2 21 87 22 20 5b |[nil ".y|...!." [|
|00005910| 30 20 65 64 74 2d 64 65 | 6c 65 74 65 2d 6c 69 6e |0 edt-de|lete-lin|
|00005920| 65 20 31 5d 20 32 20 28 | 23 24 20 2e 20 32 32 36 |e 1] 2 (|#$ . 226|
|00005930| 38 36 29 20 22 2a 22 5d | 29 0a 23 40 31 30 36 20 |86) "*"]|).#@106 |
|00005940| 44 75 70 6c 69 63 61 74 | 65 20 61 20 6c 69 6e 65 |Duplicat|e a line|
|00005950| 20 6f 66 20 74 65 78 74 | 2e 0a 41 63 63 65 70 74 | of text|..Accept|
|00005960| 73 20 61 20 70 6f 73 69 | 74 69 76 65 20 70 72 65 |s a posi|tive pre|
|00005970| 66 69 78 20 61 72 67 75 | 6d 65 6e 74 20 66 6f 72 |fix argu|ment for|
|00005980| 20 74 68 65 20 6e 75 6d | 62 65 72 20 74 69 6d 65 | the num|ber time|
|00005990| 73 20 74 6f 20 64 75 70 | 6c 69 63 61 74 65 20 74 |s to dup|licate t|
|000059a0| 68 65 20 6c 69 6e 65 2e | 1f 0a 28 64 65 66 61 6c |he line.|..(defal|
|000059b0| 69 61 73 20 27 65 64 74 | 2d 64 75 70 6c 69 63 61 |ias 'edt|-duplica|
|000059c0| 74 65 2d 6c 69 6e 65 20 | 23 5b 28 6e 75 6d 29 20 |te-line |#[(num) |
|000059d0| 22 c0 09 21 88 69 09 1a | 1b c4 20 88 c5 20 88 5c |"..!.i..|.. .. .\|
|000059e0| 6e c6 56 83 1e 00 c5 20 | 88 5c 6e 53 89 12 82 0f |n.V.... |.\nS....|
|000059f0| 00 c7 09 21 88 c8 0b 21 | 2a 87 22 20 5b 65 64 74 |...!...!|*." [edt|
|00005a00| 2d 63 68 65 63 6b 2d 70 | 72 65 66 69 78 20 6e 75 |-check-p|refix nu|
|00005a10| 6d 20 63 6f 75 6e 74 20 | 6f 6c 64 2d 63 6f 6c 75 |m count |old-colu|
|00005a20| 6d 6e 20 65 64 74 2d 64 | 65 6c 65 74 65 2d 65 6e |mn edt-d|elete-en|
|00005a30| 74 69 72 65 2d 6c 69 6e | 65 20 65 64 74 2d 75 6e |tire-lin|e edt-un|
|00005a40| 64 65 6c 65 74 65 2d 6c | 69 6e 65 20 30 20 65 64 |delete-l|ine 0 ed|
|00005a50| 74 2d 6c 69 6e 65 2d 66 | 6f 72 77 61 72 64 20 6d |t-line-f|orward m|
|00005a60| 6f 76 65 2d 74 6f 2d 63 | 6f 6c 75 6d 6e 5d 20 33 |ove-to-c|olumn] 3|
|00005a70| 20 28 23 24 20 2e 20 32 | 32 38 34 38 29 20 22 2a | (#$ . 2|2848) "*|
|00005a80| 70 22 5d 29 0a 23 40 37 | 31 20 44 75 70 6c 69 63 |p"]).#@7|1 Duplic|
|00005a90| 61 74 65 20 77 6f 72 64 | 20 28 6f 72 20 72 65 73 |ate word| (or res|
|00005aa0| 74 20 6f 66 20 77 6f 72 | 64 29 20 66 6f 75 6e 64 |t of wor|d) found|
|00005ab0| 20 64 69 72 65 63 74 6c | 79 20 61 62 6f 76 65 20 | directl|y above |
|00005ac0| 63 75 72 73 6f 72 2c 20 | 69 66 20 61 6e 79 2e 1f |cursor, |if any..|
|00005ad0| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 65 64 74 2d |.(defali|as 'edt-|
|00005ae0| 64 75 70 6c 69 63 61 74 | 65 2d 77 6f 72 64 20 23 |duplicat|e-word #|
|00005af0| 5b 6e 69 6c 20 22 60 69 | 18 19 c2 79 88 c3 08 21 |[nil "`i|...y...!|
|00005b00| 88 09 60 9a 84 3e 00 6c | 84 3e 00 68 c4 9a 83 24 |..`..>.l|.>.h...$|
|00005b10| 00 08 69 57 83 24 00 c5 | 20 88 60 1e 06 c7 20 88 |..iW.$..| .`... .|
|00005b20| 0e 06 60 7b 16 08 29 c9 | 79 88 c3 08 21 88 0e 08 |..`{..).|y...!...|
|00005b30| 63 82 4e 00 09 60 9a 84 | 47 00 c9 79 88 c3 08 21 |c.N..`..|G..y...!|
|00005b40| 88 ca cb 21 2a 87 22 20 | 5b 73 74 61 72 74 2d 63 |...!*." |[start-c|
|00005b50| 6f 6c 75 6d 6e 20 73 74 | 61 72 74 20 2d 31 20 6d |olumn st|art -1 m|
|00005b60| 6f 76 65 2d 74 6f 2d 63 | 6f 6c 75 6d 6e 20 39 20 |ove-to-c|olumn 9 |
|00005b70| 62 61 63 6b 77 61 72 64 | 2d 63 68 61 72 20 62 65 |backward|-char be|
|00005b80| 67 20 65 64 74 2d 6f 6e | 65 2d 77 6f 72 64 2d 66 |g edt-on|e-word-f|
|00005b90| 6f 72 77 61 72 64 20 65 | 64 74 2d 6c 61 73 74 2d |orward e|dt-last-|
|00005ba0| 63 6f 70 69 65 64 2d 77 | 6f 72 64 20 6e 69 6c 20 |copied-w|ord nil |
|00005bb0| 65 72 72 6f 72 20 22 4e | 6f 74 68 69 6e 67 20 74 |error "N|othing t|
|00005bc0| 6f 20 64 75 70 6c 69 63 | 61 74 65 21 22 5d 20 32 |o duplic|ate!"] 2|
|00005bd0| 20 28 23 24 20 2e 20 32 | 33 31 37 38 29 20 22 2a | (#$ . 2|3178) "*|
|00005be0| 22 5d 29 0a 23 40 36 34 | 20 44 69 73 70 6c 61 79 |"]).#@64| Display|
|00005bf0| 73 20 6d 65 73 73 61 67 | 65 20 74 68 61 74 20 6b |s messag|e that k|
|00005c00| 65 79 20 68 61 73 20 6e | 6f 74 20 62 65 65 6e 20 |ey has n|ot been |
|00005c10| 61 73 73 69 67 6e 65 64 | 20 74 6f 20 61 20 66 75 |assigned| to a fu|
|00005c20| 6e 63 74 69 6f 6e 2e 1f | 0a 28 64 65 66 61 6c 69 |nction..|.(defali|
|00005c30| 61 73 20 27 65 64 74 2d | 6b 65 79 2d 6e 6f 74 2d |as 'edt-|key-not-|
|00005c40| 61 73 73 69 67 6e 65 64 | 20 23 5b 6e 69 6c 20 22 |assigned| #[nil "|
|00005c50| c0 c1 21 87 22 20 5b 65 | 72 72 6f 72 20 22 4b 65 |..!." [e|rror "Ke|
|00005c60| 79 20 6e 6f 74 20 61 73 | 73 69 67 6e 65 64 22 5d |y not as|signed"]|
|00005c70| 20 32 20 28 23 24 20 2e | 20 32 33 35 32 39 29 20 | 2 (#$ .| 23529) |
|00005c80| 6e 69 6c 5d 29 0a 23 40 | 37 33 20 54 6f 67 67 6c |nil]).#@|73 Toggl|
|00005c90| 65 20 74 68 65 20 63 61 | 70 69 74 61 6c 69 7a 61 |e the ca|pitaliza|
|00005ca0| 74 69 6f 6e 20 6f 66 20 | 74 68 65 20 63 75 72 72 |tion of |the curr|
|00005cb0| 65 6e 74 20 77 6f 72 64 | 20 61 6e 64 20 6d 6f 76 |ent word| and mov|
|00005cc0| 65 20 66 6f 72 77 61 72 | 64 20 74 6f 20 6e 65 78 |e forwar|d to nex|
|00005cd0| 74 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 65 |t...(def|alias 'e|
|00005ce0| 64 74 2d 74 6f 67 67 6c | 65 2d 63 61 70 69 74 61 |dt-toggl|e-capita|
|00005cf0| 6c 69 7a 61 74 69 6f 6e | 2d 6f 66 2d 77 6f 72 64 |lization|-of-word|
|00005d00| 20 23 5b 6e 69 6c 20 22 | c0 20 88 c1 20 88 c2 c3 | #[nil "|. .. ...|
|00005d10| 21 88 c1 20 88 c0 20 87 | 22 20 5b 65 64 74 2d 6f |!.. .. .|" [edt-o|
|00005d20| 6e 65 2d 77 6f 72 64 2d | 66 6f 72 77 61 72 64 20 |ne-word-|forward |
|00005d30| 65 64 74 2d 6f 6e 65 2d | 77 6f 72 64 2d 62 61 63 |edt-one-|word-bac|
|00005d40| 6b 77 61 72 64 20 65 64 | 74 2d 63 68 61 6e 67 65 |kward ed|t-change|
|00005d50| 2d 63 61 73 65 20 31 5d | 20 32 20 28 23 24 20 2e |-case 1]| 2 (#$ .|
|00005d60| 20 32 33 36 39 31 29 20 | 22 2a 22 5d 29 0a 23 40 | 23691) |"*"]).#@|
|00005d70| 35 30 20 43 6f 6e 76 65 | 72 74 20 61 6c 6c 20 74 |50 Conve|rt all t|
|00005d80| 61 62 73 20 74 6f 20 73 | 70 61 63 65 73 20 69 6e |abs to s|paces in|
|00005d90| 20 74 68 65 20 65 6e 74 | 69 72 65 20 62 75 66 66 | the ent|ire buff|
|00005da0| 65 72 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |er...(de|falias '|
|00005db0| 65 64 74 2d 65 6c 69 6d | 69 6e 61 74 65 2d 61 6c |edt-elim|inate-al|
|00005dc0| 6c 2d 74 61 62 73 20 23 | 5b 6e 69 6c 20 22 c0 65 |l-tabs #|[nil ".e|
|00005dd0| 64 5c 22 88 c1 c2 21 87 | 22 20 5b 75 6e 74 61 62 |d\"...!.|" [untab|
|00005de0| 69 66 79 20 6d 65 73 73 | 61 67 65 20 22 54 41 42 |ify mess|age "TAB|
|00005df0| 53 20 63 6f 6e 76 65 72 | 74 65 64 20 74 6f 20 53 |S conver|ted to S|
|00005e00| 50 41 43 45 53 22 5d 20 | 33 20 28 23 24 20 2e 20 |PACES"] |3 (#$ . |
|00005e10| 32 33 39 32 33 29 20 22 | 2a 22 5d 29 0a 23 40 32 |23923) "|*"]).#@2|
|00005e20| 37 20 44 69 73 70 6c 61 | 79 20 74 68 65 20 63 75 |7 Displa|y the cu|
|00005e30| 72 72 65 6e 74 20 74 69 | 6d 65 2e 1f 0a 28 64 65 |rrent ti|me...(de|
|00005e40| 66 61 6c 69 61 73 20 27 | 65 64 74 2d 64 69 73 70 |falias '|edt-disp|
|00005e50| 6c 61 79 2d 74 68 65 2d | 74 69 6d 65 20 23 5b 6e |lay-the-|time #[n|
|00005e60| 69 6c 20 22 c0 c1 20 4c | 88 c2 c3 08 5c 22 87 22 |il ".. L|....\"."|
|00005e70| 20 5b 74 69 6d 65 2d 73 | 74 72 69 6e 67 20 63 75 | [time-s|tring cu|
|00005e80| 72 72 65 6e 74 2d 74 69 | 6d 65 2d 73 74 72 69 6e |rrent-ti|me-strin|
|00005e90| 67 20 6d 65 73 73 61 67 | 65 20 22 25 73 22 5d 20 |g messag|e "%s"] |
|00005ea0| 33 20 28 23 24 20 2e 20 | 32 34 30 39 38 29 20 6e |3 (#$ . |24098) n|
|00005eb0| 69 6c 5d 29 0a 23 40 35 | 31 20 4c 65 61 72 6e 20 |il]).#@5|1 Learn |
|00005ec0| 61 20 73 65 71 75 65 6e | 63 65 20 6f 66 20 6b 65 |a sequen|ce of ke|
|00005ed0| 79 20 73 74 72 6f 6b 65 | 73 20 74 6f 20 62 69 6e |y stroke|s to bin|
|00005ee0| 64 20 74 6f 20 61 20 6b | 65 79 2e 1f 0a 28 64 65 |d to a k|ey...(de|
|00005ef0| 66 61 6c 69 61 73 20 27 | 65 64 74 2d 6c 65 61 72 |falias '|edt-lear|
|00005f00| 6e 20 23 5b 6e 69 6c 20 | 22 08 c1 3d 83 09 00 c2 |n #[nil |"..=....|
|00005f10| 20 87 c3 c4 21 87 22 20 | 5b 64 65 66 69 6e 69 6e | ...!." |[definin|
|00005f20| 67 2d 6b 62 64 2d 6d 61 | 63 72 6f 20 74 20 65 64 |g-kbd-ma|cro t ed|
|00005f30| 74 2d 72 65 6d 65 6d 62 | 65 72 20 73 74 61 72 74 |t-rememb|er start|
|00005f40| 2d 6b 62 64 2d 6d 61 63 | 72 6f 20 6e 69 6c 5d 20 |-kbd-mac|ro nil] |
|00005f50| 32 20 28 23 24 20 2e 20 | 32 34 32 35 30 29 20 6e |2 (#$ . |24250) n|
|00005f60| 69 6c 5d 29 0a 23 40 36 | 36 20 53 74 6f 72 65 20 |il]).#@6|6 Store |
|00005f70| 74 68 65 20 73 65 71 75 | 65 6e 63 65 20 6f 66 20 |the sequ|ence of |
|00005f80| 6b 65 79 20 73 74 72 6f | 6b 65 73 20 73 74 61 72 |key stro|kes star|
|00005f90| 74 65 64 20 62 79 20 65 | 64 74 2d 6c 65 61 72 6e |ted by e|dt-learn|
|00005fa0| 20 74 6f 20 61 20 6b 65 | 79 2e 1f 0a 28 64 65 66 | to a ke|y...(def|
|00005fb0| 61 6c 69 61 73 20 27 65 | 64 74 2d 72 65 6d 65 6d |alias 'e|dt-remem|
|00005fc0| 62 65 72 20 23 5b 6e 69 | 6c 20 22 08 c1 3d 83 5c |ber #[ni|l "..=.\|
|00005fd0| 6e 00 c2 c3 21 87 c4 c1 | 21 88 c1 1d c5 c6 c7 21 |n...!...|!......!|
|00005fe0| 4c 88 0d c8 98 83 5c 22 | 00 c9 ca 21 82 3f 00 cb |L.....\"|...!.?..|
|00005ff0| 0e 0b cc 5c 5c 4c 88 cd | ce 20 0d 5c 22 16 0f d0 |...\\L..|. .\"...|
|00006000| ce 20 0d d1 d2 d3 d4 0e | 0b 21 50 21 21 23 29 87 |. ......|.!P!!#).|
|00006010| 22 20 5b 64 65 66 69 6e | 69 6e 67 2d 6b 62 64 2d |" [defin|ing-kbd-|
|00006020| 6d 61 63 72 6f 20 6e 69 | 6c 20 65 72 72 6f 72 20 |macro ni|l error |
|00006030| 22 4e 6f 74 68 69 6e 67 | 20 74 6f 20 72 65 6d 65 |"Nothing| to reme|
|00006040| 6d 62 65 72 21 22 20 65 | 6e 64 2d 6b 62 64 2d 6d |mber!" e|nd-kbd-m|
|00006050| 61 63 72 6f 20 65 64 74 | 2d 6b 65 79 2d 64 65 66 |acro edt|-key-def|
|00006060| 69 6e 69 74 69 6f 6e 2d | 73 74 72 69 6e 67 20 72 |inition-|string r|
|00006070| 65 61 64 2d 6b 65 79 2d | 73 65 71 75 65 6e 63 65 |ead-key-|sequence|
|00006080| 20 22 45 6e 74 65 72 20 | 6b 65 79 20 66 6f 72 20 | "Enter |key for |
|00006090| 62 69 6e 64 69 6e 67 3a | 20 22 20 22 0d 22 20 6d |binding:| " "." m|
|000060a0| 65 73 73 61 67 65 20 22 | 4b 65 79 20 73 65 71 75 |essage "|Key sequ|
|000060b0| 65 6e 63 65 20 6e 6f 74 | 20 72 65 6d 65 6d 62 65 |ence not| remembe|
|000060c0| 72 65 64 22 20 65 64 74 | 2d 6c 65 61 72 6e 2d 6d |red" edt|-learn-m|
|000060d0| 61 63 72 6f 2d 63 6f 75 | 6e 74 20 31 20 6c 6f 6f |acro-cou|nt 1 loo|
|000060e0| 6b 75 70 2d 6b 65 79 20 | 63 75 72 72 65 6e 74 2d |kup-key |current-|
|000060f0| 67 6c 6f 62 61 6c 2d 6d | 61 70 20 65 64 74 2d 6c |global-m|ap edt-l|
|00006100| 61 73 74 2d 72 65 70 6c | 61 63 65 64 2d 6b 65 79 |ast-repl|aced-key|
|00006110| 2d 64 65 66 69 6e 69 74 | 69 6f 6e 20 64 65 66 69 |-definit|ion defi|
|00006120| 6e 65 2d 6b 65 79 20 6e | 61 6d 65 2d 6c 61 73 74 |ne-key n|ame-last|
|00006130| 2d 6b 62 64 2d 6d 61 63 | 72 6f 20 69 6e 74 65 72 |-kbd-mac|ro inter|
|00006140| 6e 20 22 6c 61 73 74 2d | 6c 65 61 72 6e 65 64 2d |n "last-|learned-|
|00006150| 73 65 71 75 65 6e 63 65 | 2d 22 20 69 6e 74 2d 74 |sequence|-" int-t|
|00006160| 6f 2d 73 74 72 69 6e 67 | 5d 20 38 20 28 23 24 20 |o-string|] 8 (#$ |
|00006170| 2e 20 32 34 34 32 36 29 | 20 6e 69 6c 5d 29 0a 23 |. 24426)| nil]).#|
|00006180| 40 37 30 20 53 61 76 65 | 20 63 75 72 72 65 6e 74 |@70 Save| current|
|00006190| 20 62 75 66 66 65 72 2c | 20 61 73 6b 20 74 6f 20 | buffer,| ask to |
|000061a0| 73 61 76 65 20 6f 74 68 | 65 72 20 62 75 66 66 65 |save oth|er buffe|
|000061b0| 72 73 2c 20 61 6e 64 20 | 74 68 65 6e 20 65 78 69 |rs, and |then exi|
|000061c0| 74 20 45 6d 61 63 73 2e | 1f 0a 28 64 65 66 61 6c |t Emacs.|..(defal|
|000061d0| 69 61 73 20 27 65 64 74 | 2d 65 78 69 74 20 23 5b |ias 'edt|-exit #[|
|000061e0| 6e 69 6c 20 22 c0 20 88 | c1 20 87 22 20 5b 73 61 |nil ". .|. ." [sa|
|000061f0| 76 65 2d 62 75 66 66 65 | 72 20 73 61 76 65 2d 62 |ve-buffe|r save-b|
|00006200| 75 66 66 65 72 73 2d 6b | 69 6c 6c 2d 65 6d 61 63 |uffers-k|ill-emac|
|00006210| 73 5d 20 31 20 28 23 24 | 20 2e 20 32 34 39 36 34 |s] 1 (#$| . 24964|
|00006220| 29 20 6e 69 6c 5d 29 0a | 23 40 33 36 20 51 75 69 |) nil]).|#@36 Qui|
|00006230| 74 20 45 6d 61 63 73 20 | 77 69 74 68 6f 75 74 20 |t Emacs |without |
|00006240| 73 61 76 69 6e 67 20 63 | 68 61 6e 67 65 73 2e 1f |saving c|hanges..|
|00006250| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 65 64 74 2d |.(defali|as 'edt-|
|00006260| 71 75 69 74 20 23 5b 6e | 69 6c 20 22 c0 20 87 22 |quit #[n|il ". ."|
|00006270| 20 5b 6b 69 6c 6c 2d 65 | 6d 61 63 73 5d 20 31 20 | [kill-e|macs] 1 |
|00006280| 28 23 24 20 2e 20 32 35 | 31 33 33 29 20 6e 69 6c |(#$ . 25|133) nil|
|00006290| 5d 29 0a 23 40 35 38 20 | 53 70 6c 69 74 20 63 75 |]).#@58 |Split cu|
|000062a0| 72 72 65 6e 74 20 77 69 | 6e 64 6f 77 20 61 6e 64 |rrent wi|ndow and|
|000062b0| 20 70 6c 61 63 65 20 63 | 75 72 73 6f 72 20 69 6e | place c|ursor in|
|000062c0| 20 74 68 65 20 6e 65 77 | 20 77 69 6e 64 6f 77 2e | the new| window.|
|000062d0| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 65 64 74 |..(defal|ias 'edt|
|000062e0| 2d 73 70 6c 69 74 2d 77 | 69 6e 64 6f 77 20 23 5b |-split-w|indow #[|
|000062f0| 6e 69 6c 20 22 c0 20 88 | c1 c2 21 87 22 20 5b 73 |nil ". .|..!." [s|
|00006300| 70 6c 69 74 2d 77 69 6e | 64 6f 77 20 6f 74 68 65 |plit-win|dow othe|
|00006310| 72 2d 77 69 6e 64 6f 77 | 20 31 5d 20 32 20 28 23 |r-window| 1] 2 (#|
|00006320| 24 20 2e 20 32 35 32 34 | 30 29 20 6e 69 6c 5d 29 |$ . 2524|0) nil])|
|00006330| 0a 23 40 36 33 20 43 6f | 70 79 20 61 20 72 65 63 |.#@63 Co|py a rec|
|00006340| 74 61 6e 67 6c 65 20 6f | 66 20 74 65 78 74 20 62 |tangle o|f text b|
|00006350| 65 74 77 65 65 6e 20 6d | 61 72 6b 20 61 6e 64 20 |etween m|ark and |
|00006360| 63 75 72 73 6f 72 20 74 | 6f 20 72 65 67 69 73 74 |cursor t|o regist|
|00006370| 65 72 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |er...(de|falias '|
|00006380| 65 64 74 2d 63 6f 70 79 | 2d 72 65 63 74 61 6e 67 |edt-copy|-rectang|
|00006390| 6c 65 20 23 5b 6e 69 6c | 20 22 c0 20 88 c1 c2 c3 |le #[nil| ". ....|
|000063a0| 20 c4 20 c5 24 88 c6 20 | 88 c7 c8 21 87 22 20 5b | . .$.. |...!." [|
|000063b0| 65 64 74 2d 63 68 65 63 | 6b 2d 73 65 6c 65 63 74 |edt-chec|k-select|
|000063c0| 69 6f 6e 20 63 6f 70 79 | 2d 72 65 63 74 61 6e 67 |ion copy|-rectang|
|000063d0| 6c 65 2d 74 6f 2d 72 65 | 67 69 73 74 65 72 20 33 |le-to-re|gister 3|
|000063e0| 20 72 65 67 69 6f 6e 2d | 62 65 67 69 6e 6e 69 6e | region-|beginnin|
|000063f0| 67 20 72 65 67 69 6f 6e | 2d 65 6e 64 20 6e 69 6c |g region|-end nil|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.